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