Understanding molecular ratios in the carbon and oxygen poor outer Milky Way with interpretable machine learning