If you’re only teaching one time each day, the earlier the better. I agree with Christine about 5:30-6:00; that’s early enough so those going to work or taking care of family to get to the gym and back home for their daily responsibilities. Earlier than that, however, is a hard sell; most don’t want to get up earlier than 5 AM to start their day.
Beyond that, your time of 10 AM could be just as fine. You could get feedback from those wanting to take the class, if possible to see if it or another time would be a good fit.