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