SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}Oberschönegg{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}' OR prCity = 'Oberschönegg' OR prZip = 'Oberschönegg' OR prStreet LIKE '{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}Oberschönegg{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}' OR prCountry = 'Oberschönegg') AND (prLocation LIKE '{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}Germany{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}Germany{9e9363b519e686bb1b56ff8ddc7ee78d4fdbd8c1e1e73fda872123425ee64506}' OR prCountry = 'Germany')