html – Select Options more than 50,000 lines

I have a database that contains about 50,000 records. everything is information of business partners.

I am currently using

The problem is that every time I click on my drop-down list, my browser crashes and hangs. I think the discs are too much.

In such cases, what is the best recommended implementation that allows the user to choose from the list of choices extracted from the database (approximately 50,000 choices).

I need to make a form to retrieve the ID of the option selected.