Update>
For my this solution work perfect:
I not use tablename "__nextcloud__"
"__nextcloud__"
simple add directley in myadmin
ALTER TABLE oc_share ADD INDEX share_with_index (share_with) USING BTREE; ALTER TABLE oc_share ADD INDEX parent_index (parent) USING BTREE; i added this: ALTER TABLE oc_filecache ADD INDEX fs_mtime (mtime) USING BTREE;