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