SELECT 
  MIN(prices.price) as ecl_min_price, 
  MAX(prices.price) as ecl_max_price 
FROM 
  cscart_products as products 
  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id 
  AND descr1.lang_code = 'kk' 
  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id 
  AND prices.lower_limit = 1 
  LEFT JOIN cscart_companies AS companies ON companies.company_id = products.company_id 
  INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id 
  INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A', 'H') 
  AND cscart_categories.storefront_id IN (0, 1) 
  LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id 
  AND shared_descr.company_id = 1 
  AND shared_descr.lang_code = 'kk' 
WHERE 
  prices.price > 0 
  AND cscart_categories.category_id IN (
    265, 
    266, 
    267, 
    268, 
    269, 
    270, 
    271, 
    272, 
    273, 
    275, 
    277, 
    278, 
    279, 
    280, 
    283, 
    285, 
    286, 
    291, 
    294, 
    299, 
    301, 
    308, 
    309, 
    313, 
    323, 
    325, 
    327, 
    334, 
    351, 
    370, 
    393, 
    431, 
    432, 
    434, 
    439, 
    442, 
    455, 
    459, 
    1151, 
    667, 
    1751, 
    700, 
    708, 
    1690, 
    775, 
    784, 
    787, 
    1689, 
    1691, 
    1555, 
    1559, 
    1560, 
    1561, 
    1562, 
    1565, 
    1567, 
    1570, 
    1571, 
    1574, 
    1579, 
    1584, 
    1585, 
    1589, 
    1590, 
    1591, 
    1598, 
    1601, 
    1602, 
    1606, 
    1607, 
    1612, 
    1614, 
    1618, 
    1619, 
    1621, 
    1622, 
    1628, 
    1629, 
    1630, 
    1636, 
    1637, 
    1638, 
    1641, 
    1688, 
    1643, 
    1644, 
    1645, 
    1646, 
    1647, 
    1648, 
    1649, 
    1650, 
    1651, 
    1652, 
    1654, 
    1655, 
    1656, 
    1657, 
    1658, 
    1659, 
    1660, 
    1661, 
    1662, 
    1663, 
    1664, 
    1665, 
    1666, 
    1668, 
    1669, 
    1671, 
    1672, 
    1673, 
    1674, 
    1675, 
    1676, 
    1677, 
    1678, 
    1679, 
    1680, 
    1681, 
    1682, 
    1683, 
    1684, 
    1685, 
    1687, 
    1692, 
    1693, 
    1694, 
    1695, 
    1696, 
    1697, 
    1698, 
    1699, 
    1700, 
    1701, 
    1702, 
    1703, 
    1704, 
    1705, 
    1706, 
    1707, 
    1708, 
    1709, 
    1710, 
    1711, 
    1712, 
    1713, 
    1714, 
    1715, 
    1716, 
    1717, 
    1718, 
    1719, 
    1720, 
    1721, 
    1722, 
    1723, 
    1724, 
    1725, 
    1726, 
    1727, 
    1728, 
    1729, 
    1730, 
    1731, 
    1732, 
    1733, 
    1734, 
    1735, 
    1736, 
    1737, 
    1738, 
    1739, 
    1740, 
    1741, 
    1742, 
    1743, 
    1745, 
    1746, 
    1747, 
    1748, 
    1749, 
    1750, 
    1752, 
    1753, 
    1754, 
    1755, 
    1756, 
    1760, 
    1759
  ) 
  AND companies.status IN ('A') 
  AND (
    products.amount > 0 
    OR products.tracking = 'D'
  ) 
  AND (
    products.usergroup_ids = '' 
    OR FIND_IN_SET(0, products.usergroup_ids) 
    OR FIND_IN_SET(1, products.usergroup_ids)
  ) 
  AND products.status IN ('A') 
  AND prices.usergroup_id IN (0, 0, 1) 
  AND products.parent_product_id = 0

Query time 0.02203

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "companies",
      "access_type": "system",
      "possible_keys": ["PRIMARY"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "shared_descr",
      "access_type": "system",
      "possible_keys": ["PRIMARY", "product_id", "company_id"],
      "rows": 0,
      "filtered": 0,
      "const_row_not_found": true
    },
    "table": {
      "table_name": "prices",
      "access_type": "ALL",
      "possible_keys": ["usergroup", "product_id", "lower_limit", "usergroup_id"],
      "rows": 1816,
      "filtered": 99.94493103,
      "attached_condition": "prices.lower_limit = 1 and prices.price > 0 and prices.usergroup_id in (0,0,1)"
    },
    "table": {
      "table_name": "products",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY", "status", "idx_parent_product_id"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["product_id"],
      "ref": ["noframes_angrybeaver.prices.product_id"],
      "rows": 1,
      "filtered": 93.45071411,
      "attached_condition": "products.parent_product_id = 0 and products.company_id = 1 and (products.amount > 0 or products.tracking = 'D') and (products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A'"
    },
    "table": {
      "table_name": "products_categories",
      "access_type": "ref",
      "possible_keys": ["PRIMARY", "pt"],
      "key": "pt",
      "key_length": "3",
      "used_key_parts": ["product_id"],
      "ref": ["noframes_angrybeaver.prices.product_id"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY", "c_status", "p_category_id"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["category_id"],
      "ref": ["noframes_angrybeaver.products_categories.category_id"],
      "rows": 1,
      "filtered": 100,
      "index_condition": "cscart_categories.category_id in (265,266,267,268,269,270,271,272,273,275,277,278,279,280,283,285,286,291,294,299,301,308,309,313,323,325,327,334,351,370,393,431,432,434,439,442,455,459,1151,667,1751,700,708,1690,775,784,787,1689,1691,1555,1559,1560,1561,1562,1565,1567,1570,1571,1574,1579,1584,1585,1589,1590,1591,1598,1601,1602,1606,1607,1612,1614,1618,1619,1621,1622,1628,1629,1630,1636,1637,1638,1641,1688,1643,1644,1645,1646,1647,1648,1649,1650,1651,1652,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1668,1669,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1687,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1745,1746,1747,1748,1749,1750,1752,1753,1754,1755,1756,1760,1759)",
      "attached_condition": "(cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` in ('A','H') and cscart_categories.storefront_id in (0,1)"
    }
  }
}

Result

ecl_min_price ecl_max_price
150.00 349146.47