SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}Pinneberg{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}' OR prCity = 'Pinneberg' OR prZip = 'Pinneberg' OR prStreet LIKE '{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}Pinneberg{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}' OR prCountry = 'Pinneberg') AND (prLocation LIKE '{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}Germany{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}Germany{8682b40e2893f8cc4aaa1477ec1ec938b594cf41c5585d9e6b48a3eb6005262c}' OR prCountry = 'Germany')