Extension cord's power socket grounding pin soaked in cleaning agent sud, what is a proper way of cleaning?
It's probably fine as is, but to be sure:

rinse with denatured alcohol, shake dry, and allow to sit in a warm place until the alcohol smell is gone (or mostly gone).