SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(215, 1617, 241, 925) 
  AND category_id != 264

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.007997585,
    "nested_loop": [
      {
        "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"],
          "loops": 1,
          "rows": 21,
          "cost": 0.007997585,
          "filtered": 100,
          "attached_condition": "cscart_categories.parent_id in (215,1617,241,925) and cscart_categories.category_id <> 264",
          "using_index": true
        }
      }
    ]
  }
}

Result

category_id parent_id
337 215
339 215
658 215
1613 215
1614 215
1683 215
644 241
645 241
1125 925
1126 925
1127 925
1618 1617
1619 1617
1620 1617
1621 1617
1622 1617
1623 1617
1624 1617
1625 1617
1626 1617
1627 1617