SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}Eppingen{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCity = 'Eppingen' OR prZip = 'Eppingen' OR prStreet LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}Eppingen{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCountry = 'Eppingen') AND (prLocation LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}/{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}/{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCountry = '/') AND (prLocation LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}Kleingartach{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCity = 'Kleingartach' OR prZip = 'Kleingartach' OR prStreet LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}Kleingartach{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCountry = 'Kleingartach') AND (prLocation LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}Germany{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}Germany{69c4fcbcecf207179ee3731b1a9fb4886c8c4d17a47b8b4a70e1828b5a1ec756}' OR prCountry = 'Germany')