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