SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    635, 646, 660, 661, 639, 662, 641, 647, 
    640, 656, 642, 643, 644, 645, 657, 658
  )

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.41"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "parent"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "4",
      "rows_examined_per_scan": 16,
      "rows_produced_per_join": 16,
      "filtered": "100.00",
      "index_condition": "(`ea201_diorama`.`cscart_categories`.`parent_id` in (635,646,660,661,639,662,641,647,640,656,642,643,644,645,657,658))",
      "cost_info": {
        "read_cost": "35.21",
        "eval_cost": "3.20",
        "prefix_cost": "38.41",
        "data_read_per_join": "41K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ]
    }
  }
}