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