A convicted murderer sexually assaulted, tortured and beat a retired horsewoman to death, a court heard.