Optimal Schauder estimates for parabolic problems with data measurable with respect to time