SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}Wiesloch{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCity = 'Wiesloch' OR prZip = 'Wiesloch' OR prStreet LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}Wiesloch{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCountry = 'Wiesloch') AND (prLocation LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}/{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}/{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCountry = '/') AND (prLocation LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}Altwiesloch{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCity = 'Altwiesloch' OR prZip = 'Altwiesloch' OR prStreet LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}Altwiesloch{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCountry = 'Altwiesloch') AND (prLocation LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}Germany{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}Germany{a63800a1f397a515e889c5153d6133fbf17c21649ae6c100358ff2531853e26c}' OR prCountry = 'Germany')