A man who escaped a Phoenix courthouse in 2009 before being arrested in Mexico in 2015 has been sentenced to 54 years in prison.