Tomatoes originated in Central America so they generally prefer it warmer. But from the below I think you'd be fine in a cooler house.
From the Burpee website.
And there are varieties of lettuce for warm and cooler temps. Iceberg for example prefers cooler temps.In general, tomatoes will stop producing fruit when temperatures drop below 50°F or rise above 90°F.