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