If one or two rats do not finish, nothing changes with regards to the probabilities of winning prizes. We do not know if there is any protocol for if three or more rats do not finish, as it has not yet happened on-screen, and I do not think it is likely for that to happen in the first place, so until it does happen, I would not bother with the possibility. (That, and if none of the rats finished, I would presume the race would be re-run and the first run be edited out.)
If you win all three rats, here are all the different combinations of how your three rats will place (assuming at least three rats finish; if only three rats finish, one non-finishing rat is arbitrarily assigned 4th place and one assigned 5th, as neither affect the winnings):
123
124
125
134
135
145
234
235
245
345
Notably, there is a 10% chance of winning all three prizes if you win all three rats.
Similar to this is if you win two rats (here, only two need to finish):
12
13
14
15
23
24
25
34
35
45
Here, it should be noted that there is a 10% chance of not winning anything if you get only two rats.
I'm sure you all can figure out other assorted probabilities from this.