Optimized the find-indexed-works.py script to query Solr with 1000 keys at once.

This is way faster than the previous attempt.