How to load db config record once


I want to store config params from database and retrieve the values throughout the site.

How do I do this without having to query the table more than once?

Values are company name, phone, ect

This is what you need:

Thank you