In production, the previous query version takes too long. This ended up failing
with timeouts.
Counter-intuitively, specifying twice the range query to use (both in
content_mimetype and content_fossology_license), the execution now returns
immediately the expected results.
Closes T1788