Table './adomasirieva_lt_etopas/SC_products' is marked as crashed and should be repaired
SELECT COUNT(DISTINCT p.productID) as cnt FROM SC_products p WHERE ( (p.productID IN (1507,1945,2038,1735,1740,2215,2336,2780,2658,1734,1736,1018,1726,1945,2309,2658,1492,1742,1753,1743,1745,1755,2336,2563,2504)) OR (categoryID IN (643,644,645,646,718,648,649,650,651,652,657,719,734,750,752,642)) ) AND ( enabled=1)