If the loans are closed and paid and there are no lates or a charge off associated with them, then they shouldn't hurt your scores.
Current FICO8: EQ:782, TU:754, EX:767 | 1x 30 day late 6yrs ago
AAoA: 10 years;
AAoOA: 13 months;
Credit Length: 21 years
INQ Eq: 3 / Tu: 5 (4 for auto) / Ex: 9 (5 for auto)