[MRM-1834] Add limit to index search query to prevent unnecessary calculations