SCHEMA:
CREATE TABLE table_name_64 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
USER:
What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?

QUERY:
SELECT MIN(laps) FROM table_name_64 WHERE constructor = "ferrari" AND grid < 4