select * from visitas where ip = '54.87.112.36' and products_id = '10878' and dia = '2015-04-19'