Hi VT I'd say "in the race" refers to the race itself, and saying "at the race" sounds like a reference to the whole event during which a race took place. Also, please read my previous post about "first prize" vs "the first prize".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.