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