question: What is the lowest First Elected, when District is "Massachusetts 10"?
answer: SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10"
context: CREATE TABLE table_name_40 (first_elected INTEGER, district VARCHAR)