My 340 had intercooler's, so temperatures were never an issue, but it was happiest between 15,000–180.
And I could keep the cabin below 10,000 at cruise settings where I got the best “miles/gallon”
Any higher took higher manifold pressures and increased fuel flow without picking up much...