Apparently, the lender is encouraging you to take a five year loan, even though you believe you can pay it off in three years. IF the interest rates on the two loans were identical, you could pay the five year loan off in three years by making the payment that would be required for a three year loan.
Generally, a longer payback period entails a higher interest rate. In that case, you would need to make a slightly higher payment to pay off in three years.
The longer term loan is more profitable for the lender. (The purpose of the prepayment penalty to protect at least some of that profit.)
Assuming that you qualify for the three year, and are comfortable that you can make the payments, you will pay the least interest by insisting on the three year loan. The five year would give you the option of making a lower payment if you found it necessary. You could still pay off the loan in three years at a slight additional cost.