I think what you are attempting is closely related to what I was trying to find out here. I think it is not easily possible to combine the numexpr calculation and the in-kernel query. A possibility would be to use the where expression of numepxr on the whole table and set the result of the cases not satisfying your condition to 0, or something which would not occur during your calculation and then use a where query with a condition filtering out the 0s.
However, this will yield a massive overhead if you have a high selectivity criterium(low number of hits). If this is the case though and the data fits into memory, you can use Numexpr on the arrays loaded into memory (using the in-kernel query).