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 (
    11869, 11870, 11871, 11872, 11873, 11874, 
    11875, 11876, 11877, 11878, 11879, 
    11880, 11881, 11882, 11883, 11884, 
    11885, 11886
  ) 
  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.00063

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "13.06"
    },
    "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": 19,
        "rows_produced_per_join": 3,
        "filtered": "20.00",
        "index_condition": "(`gaseus`.`cscart_product_prices`.`product_id` in (11869,11870,11871,11872,11873,11874,11875,11876,11877,11878,11879,11880,11881,11882,11883,11884,11885,11886))",
        "cost_info": {
          "read_cost": "12.68",
          "eval_cost": "0.38",
          "prefix_cost": "13.06",
          "data_read_per_join": "91"
        },
        "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
11869 0.00000000
11870 0.00000000
11871 0.00000000
11872 0.00000000
11873 0.00000000
11874 0.00000000
11875 0.00000000
11876 0.00000000
11877 0.00000000
11878 0.00000000
11879 0.00000000
11880 0.00000000
11881 0.00000000
11882 0.00000000
11883 0.00000000
11884 0.00000000
11885 0.00000000
11886 0.00000000