SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    5506, 5577, 5630, 5682, 5730, 5770, 5780, 
    5847
  )

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "20.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": 49,
      "rows_produced_per_join": 49,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "10.85",
        "eval_cost": "9.80",
        "prefix_cost": "20.65",
        "data_read_per_join": "290K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (5506,5577,5630,5682,5730,5770,5780,5847))"
    }
  }
}

Result

category_id parent_id
5511 5506
5672 5506
8957 5506
8958 5506
8961 5506
8962 5506
8967 5506
8968 5506
8969 5506
8970 5506
8971 5506
5584 5577
5669 5577
7084 5577
8784 5577
8849 5577
8945 5577
5860 5630
5869 5630
5948 5630
6682 5630
6700 5630
6723 5630
6831 5630
6918 5630
5693 5682
5696 5682
5701 5682
5707 5682
5800 5780
5814 5780
5822 5780
5834 5780
5590 5847
5857 5847
6134 5847
6267 5847
6279 5847
6292 5847
6311 5847
6325 5847
6409 5847
6429 5847
6527 5847
6550 5847
6638 5847
7022 5847