SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}Bad{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}Bad{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}' OR prCountry = 'Bad') AND (prLocation LIKE '{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}Honnef{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}' OR prCity = 'Honnef' OR prZip = 'Honnef' OR prStreet LIKE '{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}Honnef{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}' OR prCountry = 'Honnef') AND (prLocation LIKE '{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}Germany{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}Germany{734a9331dd32b1d4425dfa21b2f10e642e80c65fa150d94e6351c9d74ebd6cb7}' OR prCountry = 'Germany')