SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    1889, 1913, 1877, 1897, 1878, 1905, 1910, 
    1888, 1911, 1916, 1898, 1890, 1906, 
    1891, 1917, 1907, 1899, 1881, 1896, 
    1892, 1918, 1904, 1882, 1900, 1908, 
    1909, 1893, 1883, 1901, 2010, 1894, 
    1912, 1902, 1980, 1986, 1982
  )

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": ["parent"],
      "key": "parent",
      "key_length": "3",
      "used_key_parts": ["parent_id"],
      "rows": 65,
      "filtered": 100,
      "attached_condition": "cscart_categories.parent_id in (1889,1913,1877,1897,1878,1905,1910,1888,1911,1916,1898,1890,1906,1891,1917,1907,1899,1881,1896,1892,1918,1904,1882,1900,1908,1909,1893,1883,1901,2010,1894,1912,1902,1980,1986,1982)",
      "using_index": true
    }
  }
}

Result

category_id parent_id
1878 1877
1879 1877
1881 1877
1882 1877
1883 1877
1884 1877
1885 1877
1980 1877
1986 1877
1889 1888
1890 1888
1891 1888
1892 1888
1893 1888
1894 1888
1895 1888
1982 1888
2010 1888
1897 1896
1898 1896
1899 1896
1900 1896
1901 1896
1902 1896
1903 1896
1905 1904
1906 1904
1907 1904
1908 1904
1910 1909
1911 1909
1913 1912
1916 1912
1917 1912
1918 1912