SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    2787, 2788, 2789, 2790, 2980, 1420, 2962, 
    2964, 2963
  )

Query time 0.00083

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "6.31"
    },
    "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": 9,
      "rows_produced_per_join": 9,
      "filtered": "100.00",
      "index_condition": "(`zdrowy_db`.`cscart_products`.`product_id` in (2787,2788,2789,2790,2980,1420,2962,2964,2963))",
      "cost_info": {
        "read_cost": "5.41",
        "eval_cost": "0.90",
        "prefix_cost": "6.31",
        "data_read_per_join": "76K"
      },
      "used_columns": [
        "product_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",
        "yml2_brand",
        "yml2_origin_country",
        "yml2_store",
        "yml2_pickup",
        "yml2_delivery",
        "yml2_adult",
        "yml2_delivery_options",
        "yml2_bid",
        "yml2_model",
        "yml2_sales_notes",
        "yml2_type_prefix",
        "yml2_offer_type",
        "yml2_market_category",
        "yml2_manufacturer_warranty",
        "yml2_expiry",
        "yml2_purchase_price",
        "yml2_description",
        "yml2_cpa",
        "buy_now_url",
        "external_id",
        "update_1c",
        "ab__stickers_manual_ids",
        "ab__stickers_generated_ids",
        "cp_og_data_type",
        "source_import_key",
        "yml_status",
        "csyml_sales_notes",
        "units_in_product",
        "show_price_per_x_units",
        "fiscal_data_1212",
        "mark_code_type",
        "shipping_ids",
        "show_videos_before_images",
        "autoplay_videos"
      ]
    }
  }
}

Result

product_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 yml2_brand yml2_origin_country yml2_store yml2_pickup yml2_delivery yml2_adult yml2_delivery_options yml2_bid yml2_model yml2_sales_notes yml2_type_prefix yml2_offer_type yml2_market_category yml2_manufacturer_warranty yml2_expiry yml2_purchase_price yml2_description yml2_cpa buy_now_url external_id update_1c ab__stickers_manual_ids ab__stickers_generated_ids cp_og_data_type source_import_key yml_status csyml_sales_notes units_in_product show_price_per_x_units fiscal_data_1212 mark_code_type shipping_ids show_videos_before_images autoplay_videos
1420 ะก130014 P A 1 0.00 9 0.000 0 0 0 0.00 0 1610962322 1774617681 0 N N N B N R N N N Y 10 0 N 1 0 1 48 N 0 P F 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;} 0 N a:0:{} 0 0 Y 83299676-594a-11eb-a21d-00155d324f40 Y 8,18,47 A A 0.000 1.000 1 0 N N
2787 C130020 P A 1 0.00 38 0.000 0 0 0 0.00 0 1753692290 1774617700 0 N N N B N R N N N Y 10 0 N 1 0 1 48 N 0 P F 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;} 0 N a:0:{} 0 0 Y 393f2fa4-6b6b-11f0-bb8f-00155d03361a Y A A 0.000 1.000 1 0 N N
2788 130039 P A 1 0.00 19 0.000 0 0 0 0.00 0 1753692292 1774617700 0 N N N B N R N N N Y 10 0 N 1 0 1 48 N 0 P F 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;} 0 N a:0:{} 0 0 Y 393f2fa6-6b6b-11f0-bb8f-00155d03361a Y A A 0.000 1.000 1 0 N N
2789 L19008R P A 1 0.00 20 0.000 0 0 0 0.00 0 1753692331 1774617700 0 N N N B N R N N N Y 10 0 N 1 0 1 48 N 0 P F 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;} 0 N a:0:{} 0 0 Y 393f2fa2-6b6b-11f0-bb8f-00155d03361a Y A A 0.000 1.000 1 0 N N
2790 R130003 P A 1 0.00 19 0.000 0 0 0 0.00 0 1753692331 1774617679 0 N N N B N R N N N Y 10 0 N 1 0 1 48 N 0 P F 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;} 0 N a:0:{} 0 0 Y 393f2fa0-6b6b-11f0-bb8f-00155d03361a Y A A 0.000 1.000 1 0 N N
2962 A130010 P A 1 0.00 12 0.000 0 0 0 0.00 0 1773836777 1774617656 0 N N N N 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;} 0 N 0 0 Y c6be7a24-2284-11f1-a238-00155d03361d Y A A 0.000 1.000 1 0 N N
2963 A130062 P A 1 0.00 12 0.000 0 0 0 0.00 0 1773836777 1774617695 0 N N N N N N N Y 10 0 N N 0 default a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:1;s:10:"box_length";i:40;s:9:"box_width";i:20;s:10:"box_height";i:7;} 0 N a:0:{} 0 0 Y c6be7a21-2284-11f1-a238-00155d03361d Y A A 0.000 1.000 1 0 N N
2964 A130012 P A 1 0.00 24 0.000 0 0 0 0.00 0 1773836777 1774617695 0 N N N N 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;} 0 N a:0:{} 0 0 Y c6be7a27-2284-11f1-a238-00155d03361d Y A A 0.000 1.000 1 0 N N
2980 RA062 P A 1 0.00 10 0.000 0 0 0 0.00 0 1774613861 1774617701 0 N N N N 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;} 0 N 0 0 Y Y A 653c2cb88b42816526885284e384713f A 0.000 1.000 1 0 N N