Goal: I would like to return an astropy table of star coordinates with magnitudes below a specified number.
Currently: I am using astroquery.vo_conesearch.conesearch to get the table of star coordinates and magnitudes and then afterwards removing stars whose magnitude is above a specified limit. It is a huge waste of time to get every single object within the cone only to remove a good chunk of them.
Question: Is there a way I can give astroquery (conesearch or any other similar functions) a specific magnitude limit such that it will search for and return only the coordinates of stars below the magnitude limit? It doesn't have to be astroquery specifically; if there's another method to achieve this, I would like to know.
If the answer is no, are there any faster ways to get the original table of stars (what should I use instead of conesearch)?