Table: catalan_2007_motorcycle_race_2
Columns: rider
manufacturer
laps
time_retired
grid

Question: What is the average lap time for retired time of +23.707 and a Grid greater than 21?
SQL: SELECT AVG("laps") FROM catalan_2007_motorcycle_race_2 WHERE "time_retired" = '+23.707' AND "grid" > 21