When you add the city selector field, you can select now if you want to store the values as simple meta as well.

After that you can use a simple meta query to get the correct posts.
$args = [
'post_type' => 'post',
'meta_query' => [
['key' => 'meta_key_city',
'value' => 'A city name',
],
],
];
$posts = get_posts($args);