One of the oldest graphical proofs of sadomasochistic actions is present in the Etruscan Tomb from the Whipping close to Tarquinia, which dates for the 5th century BC. Inside the tomb, There's a fresco which portrays two men who flagellate a woman using a cane as well as a hand https://makeagif.com/user/AdrianPeterson/albums