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