Direct Sunlight vs. Temperature

Hey, I live in a very hot part of the world. Direct sunlight comes at a cost of 38°C (2PM - 5PM)
After 10AM temps cross 30°C and don't drop to below that till 9PM.

I've been giving the plants direct sunlight till about 1PM (35°C) and misting them.
Then moving them inside with air conditioning where they can still receive direct sun from 2PM to 5PM. Then back out after sunset.

Is it a better idea to leave them out in the shade with high temps or bring them indoors with AC and sunlight?
 
Top