Just an idea, instead of sending all queries to all plugins could you do a look up instead? Such as my example above, part of the process of registering a plugin might be specifying a keyword, and a identification function. So during the process of creating your zero click results you could check an index if any of the keywords have plugins associated with them. Once you have a narrow list of plugins then you could run through the list of plugins to see if the results are relevant.