SCHEMA:
CREATE TABLE table_name_49 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR)
USER:
What is the highest number of laps when there are less than 5 points for team garry rogers motorsport and the grid number is under 23?

QUERY:
SELECT MAX(laps) FROM table_name_49 WHERE points < 5 AND team = "garry rogers motorsport" AND grid < 23