Select query with two and two related taxonomies

I believe you can just use the WP_Query method to query the database with a tax_query like so:

$my_query_args = array(
    'post_type' => 'shows',
    'tax_query' => array(
        'relation' => 'AND',
        array(
            'taxonomy' => 'location',
            'field' => 'slug',
            'terms' => 'california'
        ),
        array(
            'taxonomy' => 'genre',
            'field' => 'slug',
            'terms' => 'comedy'
        )
    )
);

$my_query = new WP_Query( $my_query_args );

if( $my_query->have_posts() ) : while( $my_query->have_posts() ) : $my_query->the_post();

    the_title();
    echo '<br'>;
    the_content();  

endwhile; endif; wp_reset_postdata();