SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(9697, 9850, 9852, 9853, 9854)

Query time 0.00104

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.04"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "parent"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 40,
      "rows_produced_per_join": 40,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "9.04",
        "eval_cost": "8.00",
        "prefix_cost": "17.04",
        "data_read_per_join": "237K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9697,9850,9852,9853,9854))"
    }
  }
}

Result

category_id parent_id
9698 9697
9701 9697
9714 9697
9717 9697
9720 9697
9723 9697
9724 9697
9734 9697
9737 9697
9745 9697
9746 9697
9747 9697
9751 9697
9755 9697
9756 9697
9759 9697
9826 9697
9827 9697
9828 9697
9829 9697
9850 9697
9852 9697
9853 9697
9854 9697
9870 9697
9871 9697
9879 9697
9880 9697
9888 9697
9889 9697
9890 9697
9892 9697
9900 9697
9904 9697
9907 9697
9947 9697