Indexed markets database on time for improved performance