What was nature thinking putting these glands mainly on the paw pads, so dogs have to cool off by panting
They cool down mainly by panting, which releases evaporated water 
... asphalt, cement or even sand, their paw pads may get burned.