The Stack Overflow podcast is back! Listen to an interview with our new CEO.
2 added caveat re: custom tables
source | link

You guys are doing too much work : https://codex.wordpress.org/Class_Reference/WP_User_Query

$args = array(
    'meta_query' => array(
        array(
            array(
                'key'     => 'YOUR_KEY',
                'value'   => 'whatever_value_you\'re_looking_for',
                'compare' => '='
            )
        )
    )
 );
$user_query = new WP_User_Query( $args );

Like other WP{{Query}} type conventions, you can orderby, limit result count, etc ...

https://codex.wordpress.org/Class_Reference/WP_User_Query

edit - Caveat: this assumes you are assigning custom user data to the wp_core anticipated user table(s) - which in the OP it looks like you are. For custom tables, you'll want to go the $wpdb approach described by another user

You guys are doing too much work : https://codex.wordpress.org/Class_Reference/WP_User_Query

$args = array(
    'meta_query' => array(
        array(
            array(
                'key'     => 'YOUR_KEY',
                'value'   => 'whatever_value_you\'re_looking_for',
                'compare' => '='
            )
        )
    )
 );
$user_query = new WP_User_Query( $args );

Like other WP{{Query}} type conventions, you can orderby, limit result count, etc ...

https://codex.wordpress.org/Class_Reference/WP_User_Query

You guys are doing too much work : https://codex.wordpress.org/Class_Reference/WP_User_Query

$args = array(
    'meta_query' => array(
        array(
            array(
                'key'     => 'YOUR_KEY',
                'value'   => 'whatever_value_you\'re_looking_for',
                'compare' => '='
            )
        )
    )
 );
$user_query = new WP_User_Query( $args );

Like other WP{{Query}} type conventions, you can orderby, limit result count, etc ...

https://codex.wordpress.org/Class_Reference/WP_User_Query

edit - Caveat: this assumes you are assigning custom user data to the wp_core anticipated user table(s) - which in the OP it looks like you are. For custom tables, you'll want to go the $wpdb approach described by another user

1
source | link

You guys are doing too much work : https://codex.wordpress.org/Class_Reference/WP_User_Query

$args = array(
    'meta_query' => array(
        array(
            array(
                'key'     => 'YOUR_KEY',
                'value'   => 'whatever_value_you\'re_looking_for',
                'compare' => '='
            )
        )
    )
 );
$user_query = new WP_User_Query( $args );

Like other WP{{Query}} type conventions, you can orderby, limit result count, etc ...

https://codex.wordpress.org/Class_Reference/WP_User_Query