SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}Hermeskeil{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}' OR prCity = 'Hermeskeil' OR prZip = 'Hermeskeil' OR prStreet LIKE '{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}Hermeskeil{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}' OR prCountry = 'Hermeskeil') AND (prLocation LIKE '{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}Germany{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}Germany{79af94acead2c900c32c5260c4c61d98c8a912a1725b55241d19049074ebf24a}' OR prCountry = 'Germany')