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 (
    493, 409, 404, 456, 469, 431, 466, 402, 
    439, 484, 470, 490, 451, 491, 411, 486, 
    458, 459, 461, 462, 471, 425, 427, 416, 
    419, 464, 465, 432, 444, 445, 477, 478, 
    487, 488, 434, 435, 515, 481, 489, 415, 
    430, 414, 475, 452, 412, 417, 503, 514
  ) 
  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.00075

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "173.31"
    },
    "grouping_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "96.00"
      },
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "ALL",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "rows_examined_per_scan": 368,
        "rows_produced_per_join": 95,
        "filtered": "26.09",
        "cost_info": {
          "read_cost": "58.11",
          "eval_cost": "19.20",
          "prefix_cost": "77.31",
          "data_read_per_join": "2K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`danishecarter_latest`.`cscart_product_prices`.`lower_limit` = 1) and (`danishecarter_latest`.`cscart_product_prices`.`product_id` in (493,409,404,456,469,431,466,402,439,484,470,490,451,491,411,486,458,459,461,462,471,425,427,416,419,464,465,432,444,445,477,478,487,488,434,435,515,481,489,415,430,414,475,452,412,417,503,514)) and (`danishecarter_latest`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
402 0.00000000
404 9000.00000000
409 29000.00000000
411 19000.00000000
412 44500.00000000
414 22500.00000000
415 29000.00000000
416 25000.00000000
417 28900.00000000
419 8900.00000000
425 31000.00000000
427 46500.00000000
430 75300.00000000
431 51900.00000000
432 13300.00000000
434 4990.00000000
435 4990.00000000
439 30400.00000000
444 23200.00000000
445 23200.00000000
451 23200.00000000
452 26000.00000000
456 39900.00000000
458 17600.00000000
459 17600.00000000
461 17200.00000000
462 17200.00000000
464 39200.00000000
465 39200.00000000
466 45900.00000000
469 36700.00000000
470 27200.00000000
471 52000.00000000
475 41900.00000000
477 23200.00000000
478 23200.00000000
481 28000.00000000
484 6500.00000000
486 22400.00000000
487 4000.00000000
488 4000.00000000
489 22400.00000000
490 20000.00000000
491 20000.00000000
493 13880.00000000
503 2950.00000000
514 0.00000000
515 4500.00000000