How does one get the order prefix programmatically?

We use separate order prefixes for our production and lower environments. For each environment we run a sequel statement to update so each environment is unique.

update `sales_sequence_profile` set prefix = "PREFIX";

How would I return the prefix value programmatically?

I am currently working on Magento 2.2.10