Actually having userid primary/unique should solve that - and from my knowledge, does not require an additional index (I might be wrong though). ... I researched a bit and it is said, that long query times could be due to locked tables sometimes. - Because I realized that the same UPDATE query of the plugin takes sometimes 100 ms only.