CREATE TABLE table_62326 ("Rank" FLOAT, "Name" TEXT, "Season" TEXT, "Club" TEXT, "Goals" FLOAT, "Apps" FLOAT, "Goals per Match" FLOAT)

What is the lowest rank that has goals per match less than 1.237, real madrid as the club, goals less than 53, with apps greater than 40?
SELECT MIN("Rank") FROM table_62326 WHERE "Goals per Match" < '1.237' AND "Club" = 'real madrid' AND "Goals" < '53' AND "Apps" > '40'
SELECT MIN("Rank") FROM "table_62326" WHERE "Apps" > '40' AND "Club" = 'real madrid' AND "Goals per Match" < '1.237' AND "Goals" < '53'