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