LPS-34805 Use database query for related assets (instead of index)