SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    30395, 30818, 30374, 30287, 30313, 30566, 
    30434, 30499, 30242, 30164, 30304, 
    30432, 30542, 30165, 30397, 30445, 
    30495, 30483, 30564, 30209, 30221, 
    30577, 30473, 30392, 30557, 30450, 
    30516, 30606, 30349, 30362, 30595, 
    30599, 30102, 30521, 30213, 30422, 
    30573, 30338, 30100, 30312
  )

Query time 0.00152

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.01"
    },
    "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": 40,
      "rows_produced_per_join": 40,
      "filtered": "100.00",
      "index_condition": "(`cscartdb`.`cscart_products`.`product_id` in (30395,30818,30374,30287,30313,30566,30434,30499,30242,30164,30304,30432,30542,30165,30397,30445,30495,30483,30564,30209,30221,30577,30473,30392,30557,30450,30516,30606,30349,30362,30595,30599,30102,30521,30213,30422,30573,30338,30100,30312))",
      "cost_info": {
        "read_cost": "24.01",
        "eval_cost": "4.00",
        "prefix_cost": "28.01",
        "data_read_per_join": "214K"
      },
      "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
30100 {"from":"10","to":"15"} _516 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719792606 1719859783 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
30102 {"from":"10","to":"15"} _514 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719792686 1719859783 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
30164 {"from":"10","to":"15"} _453 P A 157 0.00 7 0.000 0 0 0 0.00 0 1719794814 1719863931 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
30165 {"from":"10","to":"15"} _452 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719794831 1719859784 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
30209 {"from":"10","to":"15"} _408 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719796045 1719940240 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
30213 00 _404 P A 157 0.00 7 0.000 0 0 0 0.00 0 1719796161 1719940359 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
30221 {"from":"10","to":"15"} _397 P A 157 0.00 2 0.000 0 0 0 0.00 0 1719796390 1719940359 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
30242 {"from":"10","to":"15"} _377 P A 157 0.00 5 0.000 0 0 0 0.00 0 1719796953 1719940359 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
30287 {"from":"10","to":"15"} _332 P A 157 0.00 5 0.000 0 0 0 0.00 0 1719798129 1719940359 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
30304 {"from":"10","to":"15"} _315 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719798661 1719857353 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
30312 {"from":"10","to":"15"} _307 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719798900 1719860625 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
30313 {"from":"10","to":"15"} _306 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719798930 1719940359 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
30338 {"from":"10","to":"15"} _282 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719799665 1719940360 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
30349 {"from":"10","to":"15"} _271 P A 157 0.00 7 0.000 0 0 0 0.00 0 1719800009 1719940897 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
30362 {"from":"10","to":"15"} _258 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719800381 1719940241 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
30374 {"from":"10","to":"15"} _247 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719846077 1719940360 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
30392 {"from":"10","to":"15"} _229 P A 157 0.00 6 0.000 0 0 0 0.00 0 1719846565 1719940360 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
30395 {"from":"10","to":"15"} _226 P A 157 0.00 4 0.000 0 0 0 0.00 0 1719846643 1719861360 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
30397 {"from":"10","to":"15"} _224 P A 157 0.00 15 0.000 0 0 0 0.00 0 1719846700 1719950061 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
30422 {"from":"10","to":"15"} _199 P A 157 0.00 2 0.000 0 0 0 0.00 0 1719847347 1719861361 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
30432 {"from":"10","to":"15"} _189 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719847626 1719940241 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
30434 {"from":"10","to":"15"} _187 P A 157 0.00 2 0.000 0 0 0 0.00 0 1719847667 1719940360 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
30445 {"from":"10","to":"15"} sku-leashes-pink-6_4 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719847941 1719857825 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
30450 {"from":"10","to":"15"} _173 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719848061 1719864116 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
30473 {"from":"10","to":"15"} _151 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719848649 1719862725 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
30483 {"from":"10","to":"15"} _141 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719848902 1719940417 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
30495 {"from":"10","to":"15"} _130 P A 157 0.00 4 0.000 0 0 0 0.00 0 1719849176 1719940417 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
30499 {"from":"10","to":"15"} _126 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719849269 1719862725 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
30516 {"from":"10","to":"15"} _109 P A 157 0.00 4 0.000 0 0 0 0.00 0 1719849702 1719862725 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
30521 {"from":"10","to":"15"} _104 P A 157 0.00 2 0.000 0 0 0 0.00 0 1719849998 1719940417 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
30542 {"from":"10","to":"15"} _83 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719850559 1719863656 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
30557 {"from":"10","to":"15"} _68 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719851029 1719940241 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
30564 {"from":"10","to":"15"} _61 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719851258 1719940417 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
30566 {"from":"10","to":"15"} _59 P A 157 0.00 2 0.000 0 0 0 0.00 0 1719851303 1719863657 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
30573 {"from":"10","to":"15"} _54 P A 157 0.00 3 0.000 0 0 0 0.00 0 1719851507 1719863657 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
30577 {"from":"10","to":"15"} _50 P A 157 0.00 9 0.000 0 0 0 0.00 0 1719851623 1719940241 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
30595 {"from":"10","to":"15"} _32 P A 157 0.00 4 0.000 0 0 0 0.00 0 1719852108 1719940417 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
30599 {"from":"10","to":"15"} _28 P A 157 0.00 2 0.000 0 0 0 0.00 0 1719852207 1719940417 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
30606 {"from":"10","to":"15"} _21 P A 157 0.00 1 0.000 0 0 0 0.00 0 1719852373 1719863657 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
30818 {"from":"10","to":"15"} P A 157 0.00 10 0.000 0 0 0 0.00 0 1719951575 1719953731 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