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