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