Improve expired leases reclamation query for MySQL
During work on support #RT18476, we began looking for MySQL inefficiencies. By looking at performance testing results, we discovered that expired lease reclamation queries under MySQL were doing full table scans. This ticket calls for improved query performance.