This is only just my opinion. And I'm well aware opinions on this matter vary all over the place, so please feel free to disagree:
To me today's ideal CD will mature shortly after next year's presidential election in November. I would even agree with anyone who prefers maturity subsequent to January 20, 2025, since the election could be close and an interval of turbulence might ensue. The idea is to be free of election considerations when your CD matures and you have to reinvest the funds. How long will it take, following the election, before things settle down? It's anyone's guess, but I don't want to have to reinvest maturing CD money with an impending presidential election on everyone's mind. And everyone in this instance includes in particular Jerome Powell and President Biden.
How about the interest rate on your ideal CD? As always I could be full of prunes. But I'm very uncomfortable with any APY south of 6%. These 5+% APYs and (God forbid) 4++% APYs strike me as merely avenues slowly, after taxes and inflation, to lose your purchasing power. It's always difficult with CDs just to come out even in terms of purchasing power maintenance. Heck, you already KNOW inflation is not going below 2%. And core inflation right now, despite all the goody-goody talk, is at 4%. So how you gonna stay even after taxes with a 5.5% APY CD? And I concede even my 6% APY target might well not do the trick . . . . but 6% APY still is the smallest return I would tolerate.