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 (
    95, 96, 97, 100, 101, 102, 103, 104, 105, 
    106, 107, 108, 109, 110, 111, 112, 113, 
    114, 115, 116, 117, 118, 119, 120, 121, 
    122, 123, 124, 125, 127, 129, 131
  ) 
  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.00134

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_prices",
          "access_type": "range",
          "possible_keys": [
            "usergroup",
            "product_id",
            "lower_limit",
            "usergroup_id"
          ],
          "key": "product_id",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "rows": 32,
          "filtered": 45.91368103,
          "index_condition": "cscart_product_prices.product_id in (95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,129,131)",
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
95 799.60000000
96 3999.60000000
97 599.60000000
100 908.00000000
101 3610.80000000
102 11800.00000000
103 959.60000000
104 1198.00000000
105 6799.60000000
106 7199.60000000
107 18600.00000000
108 519.60000000
109 5600.00000000
110 639.60000000
111 279.60000000
112 359.60000000
113 17999.60000000
114 599.60000000
115 183800.00000000
116 279.60000000
117 29199.60000000
118 1239.60000000
119 719.60000000
120 7999.60000000
121 719.60000000
122 227800.00000000
123 719.60000000
124 80825.00000000
125 5999.60000000
127 191160.00000000
129 71960.00000000
131 49960.00000000