There is a problem with the database

Table 'products' is marked as crashed and should be repairedSELECT count(*) AS count from products WHERE 1=1 AND category IN (507, 508, 509, 510, 511, 517, 522, 546, 548, 565);