SELECT 
  q_products.* 
FROM 
  q_products 
WHERE 
  q_products.product_id IN (
    29233, 10387, 10388, 10396, 10397, 10441, 
    10443, 10445, 10507, 10508, 10509, 
    10510, 10511, 10512, 10514, 10341, 
    10366, 10367, 10371, 10372, 10373, 
    10374, 10022, 10031, 10033, 8682, 4584
  )

Query time 0.00087

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "64.81"
    },
    "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": 27,
      "rows_produced_per_join": 27,
      "filtered": "100.00",
      "index_condition": "(`portal`.`q_products`.`product_id` in (29233,10387,10388,10396,10397,10441,10443,10445,10507,10508,10509,10510,10511,10512,10514,10341,10366,10367,10371,10372,10373,10374,10022,10031,10033,8682,4584))",
      "cost_info": {
        "read_cost": "59.41",
        "eval_cost": "5.40",
        "prefix_cost": "64.81",
        "data_read_per_join": "159K"
      },
      "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
4584 xiaomiaf011 P A 21 399.00 305.15 1 0.000 0 0 0 0.00 0 1556626571 1591369882 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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;} activity 0 N
8682 851572007924 P A 21 650.00 505.75 1 0.000 0 0 0 0.00 0 1557863513 1564235653 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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
10022 B06XG5HR97 P A 21 419.00 327.25 5 0.000 0 0 0 0.00 0 1558009650 1564235651 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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
10031 B07PZ851BL P A 21 799.00 505.75 9 0.000 0 0 0 0.00 0 1558009650 1719986495 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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
10033 B076WRDKQM P A 21 399.00 205.70 10 0.000 0 0 0 0.00 0 1558009650 1564235652 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10341 257.283.34803432.18 P A 21 211.00 116.45 1 0.000 0 0 0 0.00 0 1558615113 1564235648 0 N N N B N R N N N Y 10 0 S 1 1 1 1 6 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
10366 257.498.35506567.17 P A 21 260.00 111.35 1 0.000 0 0 0 0.00 0 1558615113 1564235650 0 N N N B N R N N N Y 10 0 S 1 1 1 1 6 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
10367 257.498.74838833.17 P A 21 140.00 67.15 1 0.000 0 0 0 0.00 0 1558615113 1564235650 0 N N N B N R N N N Y 10 0 S 1 1 1 1 6 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
10371 257.511.35730381.18 P A 21 1052.00 613.70 5 0.000 0 0 0 0.00 0 1558615113 1564235650 0 N N N B N R N N N Y 10 0 N 1 1 1 1 6 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
10372 257.511.44468734.18 P A 21 840.00 459.00 5 0.000 0 0 0 0.00 0 1558615113 1622962126 0 N N N B N R N N N Y 10 0 S 1 1 1 1 6 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
10373 257.511.53180303.18 P A 21 848.00 465.80 5 0.000 0 0 0 0.00 0 1558615113 1564235650 0 N N N B N R N N N Y 10 0 N 1 1 1 1 6 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
10374 257.511.83127013.18 P A 21 841.00 459.85 5 0.000 0 0 0 0.00 0 1558615113 1622962126 0 N N N B N R N N N Y 10 0 N 1 1 1 1 6 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
10387 AMAZFITb P A 21 500.00 356.15 10 0.000 0 0 0 0.00 0 1558774366 1564235640 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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
10388 AMAZFITblack P A 21 600.00 381.65 9 0.000 0 0 0 0.00 0 1558774366 1564235640 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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
10396 XiaomiAmazfitpace2 P A 21 800.00 551.65 9 0.000 0 0 0 0.00 0 1558774366 1564235641 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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
10397 bip P A 21 500.00 339.15 10 0.000 0 0 0 0.00 0 1558774366 1564235641 0 N N N B N R N N N Y 10 0 N 1 0 1 0 6 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
10441 mi156 P A 21 199.00 126.65 10 0.000 0 0 0 0.00 0 1558774366 1564235644 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10443 mi174 P A 21 799.00 551.65 5 0.000 0 0 0 0.00 0 1558774366 1719986494 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10445 mi179 P A 21 599.00 424.15 8 0.000 0 0 0 0.00 0 1558774366 1564235644 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10507 xiaomiwatch06 P A 21 299.00 211.65 4 0.000 0 0 0 0.00 0 1558774366 1564235647 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10508 xiaomiwatch07 P A 21 399.00 271.15 4 0.000 0 0 0 0.00 0 1558774366 1564235648 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10509 xiaomiwatch09 P A 21 599.00 415.65 5 0.000 0 0 0 0.00 0 1558774366 1564235648 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10510 xiaomiwatch11 P A 21 399.00 271.15 5 0.000 0 0 0 0.00 0 1558774366 1578140009 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10511 xiaomiwatch12 P A 21 399.00 271.15 5 0.000 0 0 0 0.00 0 1558774366 1564235648 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10512 xiaomiwatch13 P A 21 299.00 182.75 4 0.000 0 0 0 0.00 0 1558774366 1564235648 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
10514 xiaomiwatch4.0 P A 21 330.00 195.50 10 0.000 0 0 0 0.00 0 1558774366 1564235648 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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
29233 B076X2C4Y3 P A 21 390.00 242.10 7 0.000 0 0 0 0.00 0 1564658403 1571488360 0 N N N B N R N N N Y 10 0 S 1 0 1 0 6 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