Query sessions by at, from, and to timestamps