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