I know that second number matters when the temperature is high.
In my area there is 35-45 degrees celsius (95-113 fahrenheit).
I've seen on some diagrams that when the temperature is more than 35 0w-40,5w-40,10w-40,15w-40 is recommended.
I guess toyota engines are constructed the way that they can handle the heat with 5w-30 oils.