How do I run queries against a view configuration
Just expanding a bit on @Clive's answer. Load all views, iterate through them and check what you need. 

Views has a function that will help, views_get_all_views(), https://cgit.drupalcode.org/views/tree/views.module#n1536

From there, you can go through them and get what you need. 

Basically,


  $views_list = views_get_all_views();
  foreach ($views_list  as $view) {
    //Logic operating on the $view object
  }


This will probably be useful as well, https://api.drupal.org/api/views/includes!view.inc/class/view/7.x-3.x