SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}Osnabrück{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCity = 'Osnabrück' OR prZip = 'Osnabrück' OR prStreet LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}Osnabrück{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCountry = 'Osnabrück') AND (prLocation LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}/{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}/{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCountry = '/') AND (prLocation LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}Eversburg{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCity = 'Eversburg' OR prZip = 'Eversburg' OR prStreet LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}Eversburg{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCountry = 'Eversburg') AND (prLocation LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}Germany{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}Germany{5c3b9ffdd46cbb996d9e7a612d390f9f14e4c15028703a0e5672be6de0cd1b7a}' OR prCountry = 'Germany')