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