db/schema/indexes.sql:
db/schema/indexes.sql:

Added an index to htemp.source_progress.lt_realization_id and
htemp.hazard_curve_progress.lt_realization_id.

Queries on these fields were found to take more than 1.5 seconds
in some cases (with already a lot records in the DB).

gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine