SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}Ornontowice{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}' OR prCity = 'Ornontowice' OR prZip = 'Ornontowice' OR prStreet LIKE '{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}Ornontowice{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}' OR prCountry = 'Ornontowice') AND (prLocation LIKE '{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}Poland{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}' OR prCity = 'Poland' OR prZip = 'Poland' OR prStreet LIKE '{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}Poland{c7d63b264da106e0f43c5d573317f47ddc9a0adc6bce9947b7117a81737c5287}' OR prCountry = 'Poland')