SELECT 
  q_products.* 
FROM 
  q_products 
WHERE 
  q_products.product_id IN (
    41248, 41249, 41250, 41251, 41252, 41253, 
    41254, 41255, 41256, 41257, 41258, 
    41259, 41260, 41261, 41262, 41263, 
    41264, 41265, 41266, 41267, 41268, 
    41269, 41270, 41271, 41272, 41273, 
    41274, 41275, 41276, 41277
  )

Query time 0.00100

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.01"
    },
    "table": {
      "table_name": "q_products",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "index_condition": "(`portal`.`q_products`.`product_id` in (41248,41249,41250,41251,41252,41253,41254,41255,41256,41257,41258,41259,41260,41261,41262,41263,41264,41265,41266,41267,41268,41269,41270,41271,41272,41273,41274,41275,41276,41277))",
      "cost_info": {
        "read_cost": "66.01",
        "eval_cost": "6.00",
        "prefix_cost": "72.01",
        "data_read_per_join": "176K"
      },
      "used_columns": [
        "product_id",
        "product_code",
        "product_type",
        "status",
        "company_id",
        "list_price",
        "vendor_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",
        "__variation_code",
        "__variation_options",
        "__is_default_variation",
        "buy_now_url"
      ]
    }
  }
}

Result

product_id product_code product_type status company_id list_price vendor_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 __variation_code __variation_options __is_default_variation buy_now_url
41248 DK4177C5 P A 61 204.00 97.75 1 0.000 0 0 0 0.00 0 1568641590 1572885763 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41249 DK4177C7 P A 61 204.00 97.75 1 0.000 0 0 0 0.00 0 1568641590 1572886008 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41250 DK4179PC1 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572886294 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41251 DK4179PC2 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572886350 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41252 DK4179PC3 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572886950 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41253 DK4179PC4 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572887259 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41254 DK4181C1 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572887396 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41255 DK4181C3 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572887584 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41256 DK4181C4 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572887761 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41257 DK4181C5 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572888197 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41258 DK4184C2 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572888508 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41259 DK4184C5 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572888712 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41260 DK4184C7 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572888775 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41261 DK4186C4 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572889130 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41262 DK4186C6 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572889196 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41263 DK4186C8 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572889274 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41264 DK4187C1 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572889354 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41265 DK4187C3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572889455 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41266 DK4187C4 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572889528 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41267 DK4189PC3 P A 61 183.00 84.15 1 0.000 0 0 0 0.00 0 1568641590 1572889615 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41268 DK4189PC4 P A 61 183.00 84.15 1 0.000 0 0 0 0.00 0 1568641590 1572889833 0 N N N B N R N N N Y 10 0 S 1 0 1 0 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
41269 DK4189PC5 P A 61 183.00 84.15 1 0.000 0 0 0 0.00 0 1568641590 1572890312 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41270 DK4189PC6 P A 61 183.00 84.15 1 0.000 0 0 0 0.00 0 1568641590 1572890465 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41271 DK4190PC1 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572890668 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41272 DK4190PC2 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572891282 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41273 DK4190PC3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572891356 0 N N N B N R N N N Y 10 0 S 1 0 1 0 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
41274 DK4193C3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572891439 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41275 DK4193C4 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572891501 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41276 DK4193C5 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572891585 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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
41277 DK4194C1 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572891850 0 N N N B N R N N N Y 10 0 S 1 0 1 0 N 0 P F 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