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 (807,905,906,952,1265,1364,1711,1901,1902,1903,1904,1912,1974,1975,1976,1983,1984,1985,1986,1987,2067,2068,2069,2185,2520,2725,1147,1172,1654,1655,1170,1148,1067,2331,1063,1074,1147,1653,2610,1151,1186,1658,1659,1660,2801,2645,2578,2448,2453,2751,2046,2183,2727,2449,2450,697,1622,914,2575,2560,2145,1140,1992,2432,2449,2785,2789,2786,2790)) OR (categoryID IN (584,585,586,587,588,589,590,591,592,593,594,739,583)) ) AND ( enabled=1)