I mean that's just not the reality anymore. You could perhaps get 10-15% of the price knocked off here in the US, but 20-40% isn't accurate for anything besides high-volume luxury compact sedans, and even then you're skewing much closer to 20-25% in most regions.
Corollas in a High Cost-of-Living Area (HCOLA) that are ~3 years old, and under 30K miles, and all under $20,000. So... 20% or more off MSRP?
(The SE starts above $24k, the LE is a bit cheaper.)
I picked a hard example, but I bet for any car less popular and in demand than a Corolla (and in more normal areas), you can readily find them for 20% off MSRP at the 2-3 year old, 20-30k mark.