SELECT id from tbl_taxi_route where pick_up_location_id = '35' and drop_location_id = '312'