I never leave my small kids in the car to enter a building. Even if I just plan to spend only a couple seconds inside the building, things could somehow go bad (some kind of emergency), and then nobody knows about the kids. Especially in hot weather. Apart from the potential of a traumatizing situation for children, even a stationary AC might fail.
Yes, that's all not so likely, but why take any chances?