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