>> for later work, what would be the smart and faster way to do clean up just like the last list?
Well, it would be case-by-case. In my case, I would do the mapping first with the raw list. If your query does not exist in PubChem (because it's not small molecules or for whatever reason), the search will not return any. Then, you have a list of the queries that fails, so you can look into only those failures while subsequent cleaning up.
For Entrez Indices, try Questions 1 and 2 of the Module 5 homework. These questions were designed to help you search PubChem using Entrez indices.
For Entrez filters, try various filters shown in the second Figure on this module (http://olcc.ccce.divched.org/sites/olcc.ccce.divched.org/files/2017OLCCModule5fig2.png). The “has pharm” filter selected in this Figure gives you all compounds that have pharmacological actions. Probably, if you try Question 2, you would feel that getting all compounds satisfying Lipinski’s rule of 5 is somewhat tedious. You can do this using the Entrez filter “Lipinski rule of 5”. (The definition used in this filter is slightly different from those used in the homework question).
For Entrez links, try the dropdown menu called “Find Related Data” on the DocSum page returned from any PubChem search. This dropdown menu is available on the bottom right of the DocSum page. If you are looking for a more practical example, try Homework Question 3 (a) - (d) in Module 6 (not Module 5). You don’t need to read the Module 6 material to solve Question 3(a) - (d). Question 3(d) in Module 6 uses an Entrez Link, but you need to start Question 3(a) to understand the context of the task in 3(d).