CREATE TABLE table_name_57 (engine VARCHAR(255), points VARCHAR(255), year VARCHAR(255), entrant VARCHAR(255))
What is the engine for the bmw motorsport entrant with 123 points before 2004?
    
SQL: SELECT engine FROM table_name_57 WHERE year < 2004 AND entrant = "bmw motorsport" AND points = 123