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