This would be my concern too. People fail to understand how in heatwaves there ceases to be cold air to move around. Everything heats up. It's brutal.
Is that the case in India? I was under the impression that while underground temperature is consistent across seasons, it does vary considerably across climates, with warmer climates generally having higher underground temperatures. For example, while much of the central US has underground temperatures around 50F, southern Florida, California and Arizona have areas with temperatures in the upper-70s[1].
[1] https://www.builditsolar.com/Projects/Cooling/EarthTemperatu...