SELECT 
  q_products.* 
FROM 
  q_products 
WHERE 
  q_products.product_id IN (
    254, 255, 256, 257, 258, 259, 260, 261, 
    262, 229, 230, 231, 232, 233, 234, 235
  )

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.41"
    },
    "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": 16,
      "rows_produced_per_join": 16,
      "filtered": "100.00",
      "index_condition": "(`portal`.`q_products`.`product_id` in (254,255,256,257,258,259,260,261,262,229,230,231,232,233,234,235))",
      "cost_info": {
        "read_cost": "35.21",
        "eval_cost": "3.20",
        "prefix_cost": "38.41",
        "data_read_per_join": "94K"
      },
      "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
229 EMPPFW005 P A 2 225.00 140.25 12 0.000 0 0 0 0.00 0 1552666472 1574067930 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
230 EMPPFM003 P A 2 285.00 182.75 105 0.000 0 0 0 0.00 0 1552666472 1574067936 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
231 GIOPFW040 P A 2 335.00 188.70 9 0.000 0 0 0 0.00 0 1552666472 1574068002 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
232 GIOPFW096 P A 2 235.00 135.15 142 0.000 0 0 0 0.00 0 1552666472 1574068008 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
233 EMPPFW001 P A 2 299.00 169.15 30 0.000 0 0 0 0.00 0 1552666472 1574068045 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
234 GIODCM028 P A 2 345.00 216.75 234 0.000 0 0 0 0.00 0 1552666472 1574068076 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
235 GIOPFM051 P A 2 265.00 148.75 500 0.000 0 0 0 0.00 0 1552666472 1574068136 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
254 ELSPFZ003 P A 2 190.00 110.50 46 0.000 0 0 0 0.00 0 1552668443 1574069295 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
255 ELSPFZ004 P A 2 210.00 126.65 207 0.000 0 0 0 0.00 0 1552668443 1574069322 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
256 ELSPFZ005 P A 2 300.00 186.15 226 0.000 0 0 0 0.00 0 1552668443 1574069331 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
257 ELSPFW006 P A 2 300.00 169.15 394 0.000 0 0 0 0.00 0 1552668443 1574069341 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;} activity 0 N
258 ELSPFW016 P A 2 165.00 106.25 12 0.000 0 0 0 0.00 0 1552668443 1574069346 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;} activity 0 N
259 ELSPFW008 P A 2 190.00 123.25 24 0.000 0 0 0 0.00 0 1552668443 1574069365 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
260 ELSPFW013 P A 2 210.00 126.65 7 0.000 0 0 0 0.00 0 1552668443 1574069378 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
261 ELSPFW012 P A 2 275.00 174.25 27 0.000 0 0 0 0.00 0 1552668443 1574069384 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
262 ELSPFZ014 P A 2 300.00 191.25 142 0.000 0 0 0 0.00 0 1552668443 1574069394 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