SELECT 
  cscart_product_prices.product_id, 
  MIN(
    IF(
      cscart_product_prices.percentage_discount = 0, 
      cscart_product_prices.price, 
      cscart_product_prices.price - (
        cscart_product_prices.price * cscart_product_prices.percentage_discount
      )/ 100
    )
  ) AS price 
FROM 
  cscart_product_prices 
WHERE 
  cscart_product_prices.product_id IN (
    11320, 11321, 11322, 11323, 11324, 11325, 
    11326, 11327, 11328, 11329, 11330, 
    11331, 11332, 11333, 11334, 11335, 
    11336, 11337, 11338, 11339, 11340, 
    11341, 11342, 11343, 11344, 11345, 
    11346, 11347, 11348, 11349, 11350, 
    11351, 11352, 11353, 11354, 11355, 
    11356, 11357, 11358, 11359, 11360, 
    11361, 11362, 11363, 11364, 11365, 
    11366, 11367, 11368, 11369, 11370, 
    11371, 11372, 11373, 11374, 11375, 
    11376, 11377, 11378, 11379, 11380, 
    11381, 11382, 11383, 11384, 11385, 
    11386, 11387, 11388, 11389, 11390, 
    11391, 11392, 11393, 11394, 11395, 
    11396, 11397, 11398, 11399, 11400, 
    11401, 11402, 11403, 11404, 11405, 
    11406, 11407, 11408, 11409
  ) 
  AND cscart_product_prices.lower_limit = 1 
  AND cscart_product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  cscart_product_prices.product_id

Query time 0.00141

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "88.21"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "product_id",
        "used_key_parts": [
          "product_id"
        ],
        "key_length": "3",
        "rows_examined_per_scan": 146,
        "rows_produced_per_join": 29,
        "filtered": "20.00",
        "index_condition": "(`gaseus`.`cscart_product_prices`.`product_id` in (11320,11321,11322,11323,11324,11325,11326,11327,11328,11329,11330,11331,11332,11333,11334,11335,11336,11337,11338,11339,11340,11341,11342,11343,11344,11345,11346,11347,11348,11349,11350,11351,11352,11353,11354,11355,11356,11357,11358,11359,11360,11361,11362,11363,11364,11365,11366,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409))",
        "cost_info": {
          "read_cost": "85.29",
          "eval_cost": "2.92",
          "prefix_cost": "88.21",
          "data_read_per_join": "700"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`gaseus`.`cscart_product_prices`.`lower_limit` = 1) and (`gaseus`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
11320 622.80000000
11321 622.80000000
11322 622.80000000
11323 622.80000000
11324 622.80000000
11325 622.80000000
11326 622.80000000
11327 622.80000000
11328 622.80000000
11329 622.80000000
11330 622.80000000
11331 622.80000000
11332 622.80000000
11333 622.80000000
11334 622.80000000
11335 622.80000000
11336 622.80000000
11337 622.80000000
11338 622.80000000
11339 622.80000000
11340 622.80000000
11341 622.80000000
11342 622.80000000
11343 622.80000000
11344 622.80000000
11345 622.80000000
11346 622.80000000
11347 622.80000000
11348 622.80000000
11349 622.80000000
11350 622.80000000
11351 622.80000000
11352 622.80000000
11353 622.80000000
11354 622.80000000
11355 622.80000000
11356 622.80000000
11357 622.80000000
11358 622.80000000
11359 622.80000000
11360 622.80000000
11361 622.80000000
11362 622.80000000
11363 622.80000000
11364 622.80000000
11365 405.50000000
11366 405.50000000
11367 405.50000000
11368 405.50000000
11369 405.50000000
11370 405.50000000
11371 405.50000000
11372 405.50000000
11373 405.50000000
11374 405.50000000
11375 405.50000000
11376 405.50000000
11377 405.50000000
11378 405.50000000
11379 405.50000000
11380 405.50000000
11381 405.50000000
11382 405.50000000
11383 405.50000000
11384 405.50000000
11385 405.50000000
11386 405.50000000
11387 405.50000000
11388 405.50000000
11389 405.50000000
11390 405.50000000
11391 405.50000000
11392 405.50000000
11393 405.50000000
11394 405.50000000
11395 405.50000000
11396 405.50000000
11397 405.50000000
11398 405.50000000
11399 405.50000000
11400 405.50000000
11401 405.50000000
11402 405.50000000
11403 405.50000000
11404 405.50000000
11405 405.50000000
11406 405.50000000
11407 405.50000000
11408 405.50000000
11409 405.50000000