Optimized data loading in the keywords table

The loading time for the keywords table of a project has been improved.

It especially affects projects showing a large number of keywords.