SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    1191, 705, 545, 1178, 1177, 1176, 535, 
    661, 486, 580, 832, 947, 956, 511, 940, 
    1164, 1030, 960, 485, 1175, 966, 1035, 
    504, 1142, 496, 714, 943, 723, 1159, 
    874, 1036, 967, 534, 544, 573, 584, 1037, 
    968, 1038
  )

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "range",
          "possible_keys": ["parent"],
          "key": "parent",
          "key_length": "3",
          "used_key_parts": ["parent_id"],
          "rows": 50,
          "filtered": 100,
          "index_condition": "cscart_categories.parent_id in (1191,705,545,1178,1177,1176,535,661,486,580,832,947,956,511,940,1164,1030,960,485,1175,966,1035,504,1142,496,714,943,723,1159,874,1036,967,534,544,573,584,1037,968,1038)"
        }
      }
    ]
  }
}

Result

category_id parent_id
661 485
486 485
705 511
545 511
535 534
580 534
966 832
967 832
968 832
1035 947
1036 947
1037 947
1038 947
1176 1175
1177 1175
1178 1175