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