Optimal quantum speed for mixed states