Filtering a Database Query

The table wp_options can normally be queried using get_option()

So you can use something like

$testimonial_settings = get_option('testimonial_settings');

to retrieve the values of testimonial_settings. If the stored value is serialized, it will be retrieved as an array.