Improve performance of monitoring plugin by adding database indexes.

Description

As supplied by Juan Francisco Calderón Zumba via https://github.com/igniterealtime/Openfire/pull/563

Environment

None
Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen