SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}Westerkappeln{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}' OR prCity = 'Westerkappeln' OR prZip = 'Westerkappeln' OR prStreet LIKE '{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}Westerkappeln{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}' OR prCountry = 'Westerkappeln') AND (prLocation LIKE '{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}Germany{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}Germany{17221589721fb83cb194c1e64cfaf58c5be559297af4d4375fbd6b1c6a7dd5c6}' OR prCountry = 'Germany')