Optimal curvature estimates for homogeneous Ricci flows