Wiktionary
algophilist
n. Person who is subject to algophilia; person who enjoys pain and gets sexual pleasure from it.