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