SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}Selters{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}' OR prCity = 'Selters' OR prZip = 'Selters' OR prStreet LIKE '{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}Selters{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}' OR prCountry = 'Selters') AND (prLocation LIKE '{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}(Taunus){24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}' OR prCity = '(Taunus)' OR prZip = '(Taunus)' OR prStreet LIKE '{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}(Taunus){24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}' OR prCountry = '(Taunus)') AND (prLocation LIKE '{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}Germany{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}Germany{24c99a35849c96f1ece372944f39125f687e7d237c17f0a78ef47707b87bbc7c}' OR prCountry = 'Germany')