Not sure why, but I'm getting different results. My software is based on the OD formula in B31.3-2008 (Eqn 3a) and indicates that for 6" A106C pipe at 5000 psig, with a 0.0625" corrosion allowance, I need 0.826" wall thickness ...
This includes a manufacturing tolerance of -12.5% on wall thickness and is based on the reduced allowable stress value at 350 F (interpolated between the 300 and 400 F values) of 23.1 KSI.
There really shouldn't be a reason why the ID formula (3b) and the OD formula (3a) would provide such different results so I'm not sure what's up although the way the calculations work, you essentially have to gross up the corrosion allowance by the tolerance as well and that is often done incorrectly in hand calcs.
Based on the calculated wall thickness of 0.826", I would select the Sch XXS pipe which I then interpolate to have a MDMT of 24 F without considering the stress ratio (basically the same number you had).
Since I calculate the Sch XXS pipe to have an actual MAWP of 5278 psi, and the maximum is only 5000 then my stress ratio for pressure is 94.7%. Note that per the notes to Fig 323.2.2B, I do need to consider separately components with established component ratings (e.g., 5000/component rating), and I do need to consider combined longitudinal stresses as well which would typically require something like Ceasar II (or a lot of hand calcs).
However, Based on Pressure Alone, I would be allowed to take about a 5 F reduction in the MDMT since I am at 94.7% of the allowable pressure (or stress). This doesn't get you anywhere close to the required MDMT of -20 F.
At this point, you're going to be looking at an impact tested material and it is probably best to select a grade that includes impact testing as part of the mandatory requirements as opposed to doing your own impact testing after the fact.