Lore System Error

There was an error querying the database.

Query: INSERT INTO lore_search_log (search, the_time) VALUES ('SMTP server', '1511434317')

Error Message: (145) Table './lore/lore_search_log' is marked as crashed and should be repaired