Refined carbs for intense, extended exercise are great.
The focus on protein vs carbs in the health industry is mainly geared around sales.
People trying to get swole or fit, lose weight etc don't need to be so concerned about splitting it all up re complex, refined, protein etc.
Calories per day is a better way to look at it.
The only people that need to worry about the timing, specifics regarding refined v non refined, proteins etc are athletes exerting a lot of energy and muscle expenditure/break down.
The secret is to keep down calories in general and work your ass off if you want to be in shape for the most part. It's not complicated. The body will burn whatever it can/has, outside of glucose it doesn't give a shyt, it will steal it from muscle if it has to.
All the keto stuff is a facade for the most part, its just meal/calorie control in another form. That's the answer, there's no secret way, calories in v calories out, work your ass off.