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