SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    8009, 8010, 7954, 8011, 7942, 8012, 14128, 
    14132, 15791, 27961, 17503, 21638, 
    21634, 38893, 60375, 60376, 60373, 
    33813, 14108, 27950, 14170, 38890, 
    38897, 38898, 38894, 38889, 38896, 
    38888, 38895, 38892, 35331
  )

Query time 0.00146

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 (8009,8010,7954,8011,7942,8012,14128,14132,15791,27961,17503,21638,21634,38893,60375,60376,60373,33813,14108,27950,14170,38890,38897,38898,38894,38889,38896,38888,38895,38892,35331))",
      "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
7942 21 Mask-Molded P A 63 0.00 1000 0.625 0 0 0 0.00 0 1710881764 1710881795 0 N N N Y 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
7954 21 Fountain-Mask P A 63 0.00 1000 0.500 0 0 0 0.00 0 1710881859 1710881882 0 N N N Y 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
8009 21 Paradise-Mask-Black P A 63 0.00 1000 0.500 0 0 0 0.00 0 1710881996 1710882020 0 N N N Y 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
8010 21 Paradise-Mask-Brown P A 63 0.00 1000 0.500 0 0 0 0.00 0 1710882076 1710882097 0 N N N Y 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
8011 21 Paradise-Mask-Pink P A 63 0.00 1000 0.500 0 0 0 0.00 0 1710882150 1710882172 0 N N N Y 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
8012 21 Paradise-Mask-Red P A 63 0.00 1000 0.500 0 0 0 0.00 0 1710882228 1710882244 0 N N N Y 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
14108 1 B-B-2 P A 139 0.00 962 0.375 0 0 0 0.00 0 1715971501 1715972483 0 N N N Y 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
14128 1 G-04 P A 139 0.00 941 0.500 0 0 0 0.00 0 1715972071 1715972513 0 N N N Y 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
14132 1 B-B-4 P A 139 0.00 983 0.625 0 0 0 0.00 0 1715972114 1715972515 0 N N N Y 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
14170 1 B-B-1 P A 139 0.00 925 0.750 0 0 0 0.00 0 1715974491 1715974491 0 N N N Y 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
15791 { "from": "3","to": "5" } _85 P A 129 0.00 1 0.000 0 0 0 0.00 0 1716212104 1716212111 0 N N N Y 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
17503 { "from": "3","to": "5" } _58 P A 146 0.00 992 0.000 0 0 0 0.00 0 1718040348 1721219161 0 N N N Y P N N N Y 10 0 N N 0 default 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 _58 0 0
21634 { "from": "1", "to": "3"} _30 P A 172 0.00 20 0.000 0 0 0 0.00 0 1718810062 1718810409 0 N N N Y 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 _30 0 0
21638 { "from": "1", "to": "3"} _26 P A 172 0.00 50 0.000 0 0 0 0.00 0 1718828770 1718829001 0 N N N Y 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 _26 0 0
27950 { "from": "5", "to": "7"} 3d523c32-3af5-4e2e-b0ee-c94243939b60 P A 197 0.00 59 0.500 0 0 0 0.00 0 1719428948 1719429035 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 3d523c32-3af5-4e2e-b0ee-c94243939b60 0 0
27961 { "from": "5", "to": "7"} 4623a142-54dd-430f-b027-82da1b55a014 P A 197 0.00 929 0.813 0 0 0 0.00 0 1719429765 1719429809 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
33813 {"from":"14","to":"21"} P A 208 0.00 100 0.750 0 0 0 0.00 0 1720138374 1720138457 0 N N N Y 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
35331 { "from": "1", "to": "3"} KIT-BLACKKITTEN P A 241 0.00 5 0.000 0 0 0 0.00 0 1723244406 1723244515 0 N N N Y 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 KIT-BLACKKITTEN 0 0 0
38888 { "from": "3","to": "5" } d7ff22bb-fab8-47d2-aec4-eecb7953d835 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935486 1721935499 0 N N N Y 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 0
38889 { "from": "3","to": "5" } 3a29387a-a2c8-4f71-be1c-56f45b9a03ba P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935525 1721935537 0 N N N Y 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 0
38890 { "from": "3","to": "5" } 7022e601-cce7-40c3-8cbe-6cbcd412da2b P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935570 1721935583 0 N N N Y 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 0
38892 { "from": "3","to": "5" } 4d0a391e-6183-490c-b7a1-251135286188 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935635 1721935645 0 N N N Y 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 0
38893 { "from": "3","to": "5" } 52654ee6-56fd-467f-96cb-07d29d026334 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935671 1721935681 0 N N N Y 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 0
38894 { "from": "3","to": "5" } f9990864-e3bd-45de-b24c-751e26294f84 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935906 1721935917 0 N N N Y 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 0
38895 { "from": "3","to": "5" } a0f52ddd-4554-4223-975e-7a2ec93c4cb9 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935942 1721935953 0 N N N Y 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 0
38896 { "from": "3","to": "5" } a6a9e8ad-9257-4df1-bfa3-338157947648 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721935975 1721935986 0 N N N Y 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 0
38897 { "from": "3","to": "5" } 4ef438a3-b717-48d6-bc11-cd3b46f41f95 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721936008 1721936018 0 N N N Y 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 0
38898 { "from": "3","to": "5" } fd013930-7b60-46e6-ab77-aab6b65320f6 P A 290 0.00 1 0.000 0 0 0 0.00 0 1721936040 1721936050 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 0
60373 {"from":"21","to":"21"} a157d399-a5de-4ceb-8b10-3f321017d29b P A 99 33.00 999 0.000 0 0 0 0.00 0 1724473352 1724473377 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 a157d399-a5de-4ceb-8b10-3f321017d29b 1 1529 0
60375 {"from":"21","to":"21"} d30ce803-ed0f-45bf-8796-5d791dde3847 P A 99 33.00 999 0.000 0 0 0 0.00 0 1724473522 1724827549 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 d30ce803-ed0f-45bf-8796-5d791dde3847 1 1529 0
60376 {"from":"21","to":"21"} 6100b4f4-1d35-4093-9022-daf70e7d7759 P A 99 33.00 999 0.000 0 0 0 0.00 0 1724471775 1724471864 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 6100b4f4-1d35-4093-9022-daf70e7d7759 1 1529 0