The first thing you can do to filter the dict to contain only certain keys you can constructing a new dict:
dict_you_want = { your_key: old_dict[your_key] for your_key in your_keys }
This is another nicer way to filter the dict for that you will removing everything in-place you will only keep the values that you want to:
unwanted = set(keys) - set(your_dict) for unwanted_key in unwanted: del your_dict[unwanted_key]