SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    5596, 5767, 5950, 6132, 6178, 6337, 6391, 
    6588, 6610, 6626, 6647
  )

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.64"
    },
    "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": 39,
      "rows_produced_per_join": 39,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "8.84",
        "eval_cost": "7.80",
        "prefix_cost": "16.64",
        "data_read_per_join": "231K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (5596,5767,5950,6132,6178,6337,6391,6588,6610,6626,6647))"
    }
  }
}

Result

category_id parent_id
5603 5596
5666 5596
5673 5596
5721 5596
5728 5596
5738 5596
5784 5767
5848 5767
5858 5767
5868 5767
5918 5767
5930 5767
5941 5767
5963 5950
6031 5950
6036 5950
6109 5950
6148 6132
6163 6132
6190 6178
6242 6178
6256 6178
6287 6178
6300 6178
6322 6178
6347 6337
6360 6337
6372 6337
6401 6391
6466 6391
6478 6391
6491 6391
6539 6391
6553 6391
6572 6391