mariadb membuat indeks jika tidak ada
CREATE INDEX IF NOT EXISTS index_name ON table_name(column_name)
Matteoweb
CREATE INDEX IF NOT EXISTS index_name ON table_name(column_name)