Ex European industrial equipment, it does have a manufacturer logo but I could not find out who the company is
UNIDENTIFIED MANUFACTURER - Male Panel Mounting Socket
Country of origin unknown
An image search using Google yielded incorrect results, it indicated this was from a vape (vapour atomiser) of all things.

Part # XS12J3Y
Type: 3 Pin Male Plug for panel mounting
Made a few measurements ...
Threaded barrel screw for mounting is designed for a 12mm hole
Front barrel is 13.8mm OD 10.75mm ID
Total length 17.5mm
Front length (protruding from the mounting panel) is 11mm
Solder cup terminals
Supplied with the panel nut and nylon washer/spacer
It may also help to visualise the matching female line plug, they look like this ...

Used in rugged, harsh environments
COSMETIC CONDITION:
USED
Extracted from industrial equipment
Clean contact areas and body
NO body damage or markings at all
This panel mounting socket is now in a sealed clear plastic packet, patiently waiting to provide service to other equipment once again!