Table './ezobook_DB/SC_products' is marked as crashed and should be repaired
SELECT SQL_CALC_FOUND_ROWS p.*, IF(LENGTH(name_ua), name_ua, name_ru) AS _name_sort FROM SC_products p WHERE ( (p.productID IN (26441,31968,36781,40194,52096,52096,52100,52107,52108,52108,52119,52134,52134,52146,58001,58002,58004,58005,58006,58007,58008,58009,58015,60540,66185,67594,73974,80356,92620,92621,92630,92649,92650,92655,92656,92668,92675,92676,92678,92680,92684,92687,92692,92708,92710,92711,92713,92714,92715,92716,92718,93496,93497,95123,95123,98818,100223,103153,103250,103356,108944,109294,112232,113214,113214,113444,113457)) OR (categoryID IN (1302,1332,1374,1406,1442,1454,1473,2098,1515,1532,1556,1569,1578,1580,1610,1619,1631,1643,2183,1659,1663,1679,1698,1706,1718,1738,1740,1748,2244,2206,2220,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,2243,2242,2241,2240,2239,2238,2236,2237,2234,2235,2233,2232,2231,2230,2229,2228,2227,2226,2225,2224,2223,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1474,1475,1476,1477,1478,1479,1480,1481,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1530,1531,1533,1534,1535,1536,1537,1538,1539,1540,1541,1542,1543,1544,1545,1546,1547,1548,1549,1550,1551,1552,1553,1554,1555,1557,1558,1559,1560,1561,1562,1563,1564,1565,1566,1567,1568,1570,1571,1572,1573,1574,1575,1576,1577,1579,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1611,1612,1613,1614,1615,1616,1617,1618,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1642,1644,2184,2193,2192,2191,2190,2189,2188,2187,2186,2185,1660,1661,1662,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1699,1700,1701,1702,1703,1704,1705,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1739,1741,1742,1743,1744,1745,1746,1747,1749,2245,1835,1836,1837,1838,1839,1850,1849,1851,1976,1984,1985,1986,1987,1988,1989,1990,1991,2219,2218,2217,2216,2215,2214,2213,2212,2211,2210,2209,2208,2207,2205,2204,2203,2202,2201,2200,2199,2198,2197,2194,2195,2196,2064,2065,2068,2067,2069,2221,2222,2073,2074,2122,2123,2307,2327,2328,2329,2330,2338,2349,2577,2579,2582,2657,2661,2669,2672,2696,2706,2711,2718,2719,2720,2721,2722,2723,2724,2726,2727,2728,2729,2739,1301)) ) AND ( enabled=1) ORDER BY sort_order, _name_sort LIMIT 0,12