Meta Queries compare multiple keys and values.
$args = array( 'meta_query' => array( array( 'key' => 'key1', 'value' => 'value1', 'compare' => '=' ), array( 'key' => 'key1', 'value' => 'value2', 'compare' => '=' ) ) ); $query = new WP_Query( $args );
Reference Links
https://codex.wordpress.org/Class_Reference/WP_Meta_Query
https://www.advancedcustomfields.com/resources/query-posts-custom-fields/