SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    21386, 21390, 21393, 21399, 21389, 21387, 
    21391, 21392, 21401, 21388, 21413, 
    21422, 21397, 21398, 21406, 21394, 
    21439, 21408, 21417, 21414, 21440, 
    21426, 21424, 21411, 21428, 21437, 
    21423, 21419, 21433, 21403, 21420
  )

Query time 0.00105

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.71"
    },
    "table": {
      "table_name": "cscart_products",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 31,
      "rows_produced_per_join": 31,
      "filtered": "100.00",
      "index_condition": "(`cscartdb`.`cscart_products`.`product_id` in (21386,21390,21393,21399,21389,21387,21391,21392,21401,21388,21413,21422,21397,21398,21406,21394,21439,21408,21417,21414,21440,21426,21424,21411,21428,21437,21423,21419,21433,21403,21420))",
      "cost_info": {
        "read_cost": "18.61",
        "eval_cost": "3.10",
        "prefix_cost": "21.71",
        "data_read_per_join": "166K"
      },
      "used_columns": [
        "product_id",
        "lead_time",
        "etsy_id",
        "product_code",
        "product_type",
        "status",
        "company_id",
        "list_price",
        "amount",
        "weight",
        "length",
        "width",
        "height",
        "shipping_freight",
        "low_avail_limit",
        "timestamp",
        "updated_timestamp",
        "usergroup_ids",
        "is_edp",
        "edp_shipping",
        "unlimited_download",
        "tracking",
        "free_shipping",
        "zero_price_action",
        "is_pbp",
        "is_op",
        "is_oper",
        "is_returnable",
        "return_period",
        "avail_since",
        "out_of_stock_actions",
        "localization",
        "min_qty",
        "max_qty",
        "qty_step",
        "list_qty_count",
        "tax_ids",
        "age_verification",
        "age_limit",
        "options_type",
        "exceptions_type",
        "details_layout",
        "shipping_params",
        "facebook_obj_type",
        "parent_product_id",
        "allow_notes",
        "buy_now_url",
        "master_product_id",
        "master_product_status",
        "master_product_offers_count",
        "variation_sku",
        "has_color",
        "color_feature_id",
        "featured",
        "shopify_parent_product_id",
        "shopify_variant_product_id"
      ]
    }
  }
}

Result

product_id lead_time etsy_id product_code product_type status company_id list_price amount weight length width height shipping_freight low_avail_limit timestamp updated_timestamp usergroup_ids is_edp edp_shipping unlimited_download tracking free_shipping zero_price_action is_pbp is_op is_oper is_returnable return_period avail_since out_of_stock_actions localization min_qty max_qty qty_step list_qty_count tax_ids age_verification age_limit options_type exceptions_type details_layout shipping_params facebook_obj_type parent_product_id allow_notes buy_now_url master_product_id master_product_status master_product_offers_count variation_sku has_color color_feature_id featured shopify_parent_product_id shopify_variant_product_id
21386 { "from": "5", "to": "7"} Choker 08 P A 189 20.00 13 0.000 0 0 0 0.00 0 1718644671 1721641857 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21387 {"from":"7","to":"14"} Choker 131 P A 189 0.00 10 0.000 0 0 0 0.00 0 1718644853 1721409802 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21388 {"from":"7","to":"14"} Harness 66/1,Harness 66 P A 189 0.00 11 0.000 0 0 0 0.00 0 1718644991 1721409728 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21389 { "from": "5", "to": "7"} Choker 05 P A 189 0.00 7 0.000 0 0 0 0.00 0 1718645077 1721409630 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21390 { "from": "5", "to": "7"} Choker 21 P A 189 16.00 8 0.000 0 0 0 0.00 0 1718645117 1721641892 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21391 {"from":"7","to":"14"} Harness 14 P A 189 0.00 13 0.000 0 0 0 0.00 0 1718645224 1721409600 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21392 {"from":"7","to":"14"} Choker 110 P A 189 0.00 14 0.000 0 0 0 0.00 0 1718645262 1721409753 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21393 {"from":"7","to":"14"} Choker 148_3 P A 189 0.00 20 0.000 0 0 0 0.00 0 1719346854 1719347122 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21394 { "from": "5", "to": "7"} Choker 11 P A 189 0.00 10 0.000 0 0 0 0.00 0 1719347192 1721641535 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21397 {"from":"7","to":"14"} Harness 56 P A 189 0.00 13 0.000 0 0 0 0.00 0 1720545565 1720545657 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21398 {"from":"7","to":"14"} Harness 16 P A 189 0.00 15 0.000 0 0 0 0.00 0 1719478424 1721409833 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21399 {"from":"7","to":"14"} Harness 32 P A 189 0.00 13 0.000 0 0 0 0.00 0 1720545723 1720545977 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21401 {"from":"7","to":"14"} Harness 62 P A 189 0.00 12 0.000 0 0 0 0.00 0 1720626895 1721067078 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21403 { "from": "5", "to": "7"} Choker 147 P A 189 0.00 8 0.000 0 0 0 0.00 0 1721641193 1721641201 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21406 {"from":"7","to":"14"} Harness 27 P A 189 0.00 20 0.000 0 0 0 0.00 0 1721067324 1721067361 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21408 { "from": "5", "to": "7"} Choker 33 P A 189 0.00 20 0.000 0 0 0 0.00 0 1721410423 1721410486 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21411 { "from": "5", "to": "7"} Choker 123 P A 189 0.00 18 0.000 0 0 0 0.00 0 1721641285 1721641293 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21413 {"from":"7","to":"14"} Harness 70,Harness 70/1_2 P A 189 0.00 19 0.000 0 0 0 0.00 0 1721067492 1721067529 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 0 0
21414 {"from":"7","to":"14"} Harness 01 P A 189 0.00 10 0.000 0 0 0 0.00 0 1721408942 1721409253 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21417 {"from":"7","to":"14"} Harness 22 P A 189 0.00 19 0.000 0 0 0 0.00 0 1721409999 1721410013 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21419 { "from": "5", "to": "7"} Choker 120_2 P A 189 0.00 12 0.000 0 0 0 0.00 0 1721410111 1721410120 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21420 { "from": "5", "to": "7"} Choker 87 P A 189 0.00 18 0.000 0 0 0 0.00 0 1722530647 1722530663 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0 0
21422 { "from": "5", "to": "7"} Choker 36 P A 189 31.20 19 0.000 0 0 0 0.00 0 1721410262 1721641942 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21423 { "from": "5", "to": "7"} Choker 99 P A 189 0.00 14 0.000 0 0 0 0.00 0 1721641041 1721641050 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21424 {"from":"7","to":"14"} Choker 62 P A 189 0.00 9 0.000 0 0 0 0.00 0 1721641101 1721641110 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21426 {"from":"7","to":"14"} Choker 103 P A 189 0.00 17 0.000 0 0 0 0.00 0 1721641361 1721641416 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21428 {"from":"7","to":"14"} Choker 64 P A 189 0.00 17 0.000 0 0 0 0.00 0 1721642029 1721642039 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21433 {"from":"7","to":"14"} Harness 65 P A 189 0.00 13 0.000 0 0 0 0.00 0 1721749420 1721749429 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21437 {"from":"7","to":"14"} _22 P A 189 0.00 19 0.000 0 0 0 0.00 0 1721749513 1721749524 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21439 { "from": "5", "to": "7"} Harness 60_2 P A 189 0.00 13 0.000 0 0 0 0.00 0 1721749614 1721749632 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0
21440 {"from":"7","to":"14"} Harness 57 P A 189 0.00 12 0.000 0 0 0 0.00 0 1721749709 1721749737 0 N N N N P N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 Y 0 A 0 0 0