SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}Leverkusen{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCity = 'Leverkusen' OR prZip = 'Leverkusen' OR prStreet LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}Leverkusen{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCountry = 'Leverkusen') AND (prLocation LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}/{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}/{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCountry = '/') AND (prLocation LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}Rheindorf{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCity = 'Rheindorf' OR prZip = 'Rheindorf' OR prStreet LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}Rheindorf{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCountry = 'Rheindorf') AND (prLocation LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}Germany{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}Germany{1ac3cb19e2bfb45d3484e0697fd04a4b74161eb5b3ad92aaf8ca08ff19000bff}' OR prCountry = 'Germany')