SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    170, 190, 192, 632, 167, 171, 188, 633, 
    193, 172, 168, 169, 243, 242, 631, 191, 
    271, 381, 552, 229, 672, 685, 233, 688, 
    232, 537, 231, 256, 234, 230, 189, 671
  )

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "53.72"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "ALL",
      "possible_keys": [
        "parent"
      ],
      "rows_examined_per_scan": 233,
      "rows_produced_per_join": 51,
      "filtered": "21.89",
      "cost_info": {
        "read_cost": "43.52",
        "eval_cost": "10.20",
        "prefix_cost": "53.72",
        "data_read_per_join": "133K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`ea201_diorama`.`cscart_categories`.`parent_id` in (170,190,192,632,167,171,188,633,193,172,168,169,243,242,631,191,271,381,552,229,672,685,233,688,232,537,231,256,234,230,189,671))"
    }
  }
}

Result

category_id parent_id
192 191
170 167
190 168
632 190
193 191
171 167
188 168
633 190
172 167
169 167
243 167
242 167
631 190
271 167
381 168
630 190
229 168
552 167
672 190
685 190
233 168
688 190
232 168
537 168
231 168
256 168
234 168
230 168
189 168
671 168