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