Your licence validity and your class rating validity are 2 entirely separate things and independent of each other.
Your licence is valid for 5 years and your SEP Class rating is valid for 2 years. A licence is revalidated by paying dosh to the CAA for them to issue you a new bit of paper. A tax in effect.
Your Class rating is revalidated either through experience or through test.