SELECT 
  q_products.* 
FROM 
  q_products 
WHERE 
  q_products.product_id IN (
    41308, 41309, 41310, 41311, 41312, 41313, 
    41314, 41315, 41317, 41318, 41319, 
    41320, 41321, 41322, 41323, 41324, 
    41325, 41326, 41327, 41328, 41329, 
    41330, 41331, 41332, 41333, 41334, 
    41335, 41336, 41337, 41338
  )

Query time 0.00069

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 (41308,41309,41310,41311,41312,41313,41314,41315,41317,41318,41319,41320,41321,41322,41323,41324,41325,41326,41327,41328,41329,41330,41331,41332,41333,41334,41335,41336,41337,41338))",
      "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
41308 DK4203C2 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572934217 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
41309 DK4203C3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572934293 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
41310 DK4203C4 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572934342 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
41311 DK4204C1 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572934395 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
41312 DK4204C2 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572934456 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
41313 DK4206C2 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572934501 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
41314 DK4206C4 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572934541 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
41315 DK4206C5 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572934603 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
41317 DK4208C2 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572934807 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
41318 DK4208C4 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572934868 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
41319 DK4208C5 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572934904 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
41320 DK4213C1 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572934973 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
41321 DK4213C2 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935030 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
41322 DK4213C3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935120 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
41323 DK4213C4 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935156 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
41324 DK4214C1 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935182 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
41325 DK4214C2 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935217 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
41326 DK4214C3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935283 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
41327 DK4215C3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935322 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
41328 DK4215C5 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935360 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
41329 DK4215C7 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935392 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
41330 DK4217C3 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935422 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
41331 DK4217C4 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935476 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
41332 DK4219C1 P A 61 114.00 52.70 1 0.000 0 0 0 0.00 0 1568641590 1572935509 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
41333 DK4219C2 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572935549 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
41334 DK4219C4 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572935692 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
41335 DK4221C1 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935734 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
41336 DK4221C2 P A 61 159.00 75.65 1 0.000 0 0 0 0.00 0 1568641590 1572935773 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
41337 DK4224C1 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572935796 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
41338 DK4224C2 P A 61 138.00 63.75 1 0.000 0 0 0 0.00 0 1568641590 1572935833 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