SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}Aachen{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCity = 'Aachen' OR prZip = 'Aachen' OR prStreet LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}Aachen{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCountry = 'Aachen') AND (prLocation LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}/{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}/{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCountry = '/') AND (prLocation LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}Haaren{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCity = 'Haaren' OR prZip = 'Haaren' OR prStreet LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}Haaren{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCountry = 'Haaren') AND (prLocation LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}Germany{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}Germany{32db49a5b10a4eb85e291b6d96b36c3403d7c0216dfdb72a532614e1299999d5}' OR prCountry = 'Germany')