A Kansas City man was handed a 32-year prison sentence for a murder-for-hire plot that endangered children.