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