SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    2064, 2274, 2063, 2282, 2016, 2019, 2341, 
    2115, 2175, 2119, 2277, 2323, 2062, 
    2336, 2177, 2178
  ) 
  AND category_id != 414

Query time 0.00054

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.56"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "parent",
        "p_category_id"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 39,
      "rows_produced_per_join": 39,
      "filtered": "100.00",
      "index_condition": "(`s2cart`.`cscart_categories`.`parent_id` in (2064,2274,2063,2282,2016,2019,2341,2115,2175,2119,2277,2323,2062,2336,2177,2178))",
      "cost_info": {
        "read_cost": "17.66",
        "eval_cost": "3.90",
        "prefix_cost": "21.56",
        "data_read_per_join": "138K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`s2cart`.`cscart_categories`.`category_id` <> 414)"
    }
  }
}

Result

category_id parent_id
2017 2016
2018 2016
2116 2115
2120 2119
2121 2119
2122 2119
2123 2119
2124 2119
2176 2175
2283 2282
2284 2282
2285 2282
2286 2282
2287 2282
2288 2282
2324 2323
2325 2323
2326 2323
2327 2323
2328 2323
2329 2323
2330 2323
2331 2323
2332 2323
2333 2323
2334 2323
2335 2323
2338 2323
2337 2336
2339 2336
2340 2336