Your system looks fine to me
If that's what you are reaching on IBT. Then I'll make a guess and assume you are hitting around 60/65C in gaming (obviously depends on what you are playing). Which is just fine.
I would also hazard a guess if your temps are pushing 90C on Prime95, that you are running one of the later versions that use the AVX instruction set. If so, then be aware that this puts an enormous load on your CPU. Much more so than you are ever likely to encounter day-to-day. And as so, in my opinion (and that of many) not really that good a stress test to run. Though I am aware that some may disagree (as is their right).
Much better to run Prime95 v26.6 and/or something like Realbench. I use a quick run of IBT to establish initial stability and proceed from their. Though some will recommend programs like OCT and many others. And how long to run them? How long is a piece of string? Up to an individual as to what they are happy with. But ultimately, it's a matter of whether it runs stable day-to-day. I've seen people run things like Prime95 for 24 hours and then complain when their PC falls flat on it's face the first game they run.
It's all good fun.