I don't understand the question. If I am able to look for socks, I am clearly at home, in which case of course there would be a matching pair somewhere. If I were at a guest's home and had brought socks with me, then those would be a matching pair since I had put them in my bag. If my host insisted that I take socks out of a sock basket and there weren't any that matched it would not matter because the host would want me to wear them regardless of whether they matched or not.
So exactly where would you be, or what situation would you be in where you were able to look for socks, but unable to find a matching pair, and where you wondered whether barefoot would be preferable? I've been turning this over in my head and I cannot imagine the scenario in which this would happen.