There is a time-limit on how a long a search operation can take. First, try changing the search criteria and search again. If you are using Business Central on-premises, contact your system administrator, because an administrator can increase the time-limit for searches.
As an on-premises administrator, you increase the time-limit on searches by changing the Search Timeout setting of Business Central server. For more information, see Configuring Business Central Server in the Business Central Developer and IT Pro Help.