He prepared for before the first race, so that when the race...
He prepared for before the first race, so that when the race was about to start he knew everything about what was going to happen.
He prepared for before the first race, so that when the race was about to start he knew everything about what was going to happen.