I’d consider following factors:
What is the total commute time ?
Can you use/optimize these extra 20 minutes to do something else ?
Kids ? / kids in the near future ? (for me these 40 minutes do really count…)
Would the farthest location trigger more or less costs vs. the closest one ? (for whatever reason)
Consider the commute for hobbies as well
From my own experience : the older I get, the more convenience and comfort are important to me. And a short commute is now a deal breaker whenever I change jobs. My personal limit is 45 minutes per way max, and I experienced commute from 20 minutes (fantastic) to 1h25 (super tired) door to door and one-way