I think you can do it like this: First, search for a list of all the city names in the United States. Then, concatenate them with your target keywords. Next, you'll have a batch of keywords like "best cupcake of {cityName}." At this point, the keywords are ready to use, or you can also use Ahrefs to analyze them in bulk and select the ones with search volume to use.