SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}Büchenbeuren{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}' OR prCity = 'Büchenbeuren' OR prZip = 'Büchenbeuren' OR prStreet LIKE '{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}Büchenbeuren{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}' OR prCountry = 'Büchenbeuren') AND (prLocation LIKE '{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}Germany{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}Germany{6af9200663a8e0e08fe9e6e07e8dd29883f26c9b3347db404959e2557d42723d}' OR prCountry = 'Germany')