select * from visitas where ip = '54.204.210.197' and products_id = '12315' and dia = '2015-05-28'