Optimize queries

The queries related to stop_times and trips are converted to rawQuery.
There’s no need for a cache DB.