SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    204, 212, 210, 216, 211, 217, 213, 209, 
    208, 215, 218, 214
  ) 
  AND category_id != 265

Query time 0.00119

JSON explain

{
  "query_block": {
    "select_id": 1,
    "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"],
          "rows": 18,
          "filtered": 100,
          "index_condition": "cscart_categories.parent_id in (204,212,210,216,211,217,213,209,208,215,218,214)",
          "attached_condition": "cscart_categories.category_id <> 265"
        }
      }
    ]
  }
}

Result

category_id parent_id
208 204
209 204
210 204
212 211
213 211
214 211
216 215
217 215
218 215