Added index to atSelectOptionsSelected.atSelectOptionID for where clause