SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}Wettin-Löbejün{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}' OR prCity = 'Wettin-Löbejün' OR prZip = 'Wettin-Löbejün' OR prStreet LIKE '{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}Wettin-Löbejün{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}' OR prCountry = 'Wettin-Löbejün') AND (prLocation LIKE '{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}Germany{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}Germany{cb7f23e2ec581b17f0e142dd14f0abd995ce43dd49c050f2dfbed70a7f0a68b3}' OR prCountry = 'Germany')