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