The socket would probably be ruined due to the filthy water, however the copper cable should be OK. I am thinking more of the grit and stuff that would enter the socket effecting the plug pins contact and the switches. Clean water would not be a problem.
You could probably put them through the dishwasher and clean them if it was not for the fact that the dishwasher was ruined along with the kitchen units and as you said, the floor coverings.
I did a rewire in Cockermouth due to flood damage (2009 floods), the insurance company were paying. TBH a new CU, new sockets, switches and pendants [1] on the ground floor and the place would have been electrically sound. Before I fitted the temporary CU for the workmen I powered back up and nothing tripped.
[1]That was the flood level, 4 inches from the ceiling. A baton holder would not have got wet.