Affordable lenses for northern lights / astrophotography?

Hello! I'm looking into some wider, faster lenses than what I already own (standard 18-55mm kit). I am planning a trip that will include some northern lights hunting, so I'm mainly intererested in lenses that would work out for that (and astrophotography in general) but still have some versatility for general landascapes etc. I saw some good deals for these 2 lenses but I'm not sure they would work for my goal:

50mm f/1.8 STM Pancake EF-S 24mm f/2.8 STM

I saw a review about the 50mm one that doesn't recommend it wide open for AP (they said to stop it at 2.8) so I might as well get the pancake? But I haven't really found any useful/clear info on using that for AP or northern lights.

I'm also open to other suggestions of course!