Hi all,
thank you for your responses: I meanwhile found something that works, I didn’t know I can use two different concentric areas, since user input is country and city I found this suitable:

area[name="France"];
rel[name="Paris"](area);
map_to_area;
(
   node["tourism"="museum"](area);
   way["tourism"="museum"](area);
   relation["tourism"="museum"](area);
);
out;

In any case if you find that for any reason my query is not optimized like yours let me know, I found a similar example in “area” part of official documentation and I tried to adapt it.

I’m using overpy which is a python library that performs overpass api queries, I cannot use overpass turbo specific syntax

@Mateusz_Konieczny for what is usage of mine app I plan to place a request every new travel, so I mean I need to plan a travel to Paris and I will lookup openstreetmap once to get all pois, that will be cached and saved locally, I don’t know if this could be a wider use, in any case I will found a solution

@mmd in terms of performance do you think that using is_in instead of query I proposed, is better?

Thanks again for the information you gave to me.
Should I mark this as solved? Since we have here 2 working queries.