Keyence LR-TB2000C bracket with hole for 4mm countersunk head screw.
The sensor is held on a M3x32 screw.
recessed nut M3n from the side.