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