Error: SELECT id FROM cube_sessions WHERE session='3afd3dc4985bb2b80f8dc5b7a69dcc78' AND timestamp BETWEEN '2016-07-27 00:01:01' AND '2016-07-27 23:59:59' LIMIT 1;