SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(499, 502, 501, 566, 629) 
  AND category_id != 1

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "parent", "p_category_id"],
      "key": "parent",
      "key_length": "3",
      "used_key_parts": ["parent_id"],
      "rows": 21,
      "filtered": 100,
      "index_condition": "cscart_categories.parent_id in (499,502,501,566,629)",
      "attached_condition": "cscart_categories.category_id <> 1"
    }
  }
}

Result

category_id parent_id
503 499
514 499
537 499
517 499
518 499
519 499
521 499
522 499
532 499
558 499
556 502
505 502
506 502
512 502
513 502
557 502
627 502
260 566