Table schema:
CREATE TABLE table_name_65 (time VARCHAR, laps VARCHAR, grid VARCHAR)

Question: How long did it take to ride when the laps were 23 and the grid of 13?
SQL: SELECT time FROM table_name_65 WHERE laps = 23 AND grid = 13