Mendota man gets 5 years in drug plea