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