1194 Table 'products' is marked as crashed and should be repaired
in:
[select count(p.products_id) as count from products p , products_to_categories p2c where p.products_status = 1 and p.products_id = p2c.products_id and p.parent_module='' and p.is_model = 1 and ( p2c.categories_id =200001091 or p2c.categories_id =200001092 or p2c.categories_id =200001093 or p2c.categories_id =200001094 or p2c.categories_id =200001095 or p2c.categories_id =200001378 or p2c.categories_id =200002109 or p2c.categories_id =200002223 or p2c.categories_id =200002251 or p2c.categories_id =200003409)]