I have a table that has millions of data, it displays smoothly. But when I search a phrase, it returns a 504 status. May I know what should be done for this?