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