update [CRM_MSCRM].[dbo].[OrganizationBase] SET [MaxRecordsForExportToExcel] = 300000 where NAME ='CRM'
Second Approach:-
We can create a report with the same query used in Advanced Find and run the report here you can get all the records with option Export to Excel.