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