I do long trips often, my top suggestion is avoid sugar or anything with a high glycemic index. You want slow release not boom bust boom bust.
Also stay hydrated. Coffee works until it dries you out and then your brain starts to fry and misfire.
Maybe plan 2 stops for bathroom and a stretch?
Get some podcasts for when kiddo takes an inevitable sleep.