MacBook Dilemma

So I have 2 options one MacBook pro M1 14 inch base with apple care new from apple store and other MacBook pro M2 14 inch 5 months old 9 battery cycle , 100 percent health, no apple care and cannot be bought since over 60 days. Bill box accesories manual everything.

Which one should i buy since , both are overkill for my work. But i plan to sell in next 2-3 years. Given the resale value.

Yes both are for the same price.