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