Added index on security_id and date for quotes table.