[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (2006) MySQL server has gone away (400)
SELECT 
	`catalog_price`.`ID` AS `ID`,
	`catalog_price`.`CATALOG_GROUP_ID` AS `CATALOG_GROUP_ID`,
	`catalog_price`.`PRICE` AS `PRICE`,
	`catalog_price`.`CURRENCY` AS `CURRENCY`
FROM `b_catalog_price` `catalog_price` 

WHERE `catalog_price`.`PRODUCT_ID` = 18820
AND `catalog_price`.`CATALOG_GROUP_ID` IN (1,2,3,4,5,6,7)
AND (
	`catalog_price`.`QUANTITY_FROM` <= 1
	OR (`catalog_price`.`QUANTITY_FROM` IS NULL OR `catalog_price`.`QUANTITY_FROM` = 0)
)
AND (
	`catalog_price`.`QUANTITY_TO` >= 1
	OR (`catalog_price`.`QUANTITY_TO` IS NULL OR `catalog_price`.`QUANTITY_TO` = 0)
)
ORDER BY `CATALOG_GROUP_ID` ASC
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3209
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:807
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/catalog/general/product.php:1029
#5: CAllCatalogProduct::GetOptimalPrice(integer, double, array, string, array, string, array)
	/home/bitrix/www/bitrix/components/bitrix/catalog.element/class.php:138
#6: CatalogElementComponent->initAdditionalCacheKeys(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:775
#7: Bitrix\Iblock\Component\Element->getCacheKeys()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:3923
#8: Bitrix\Iblock\Component\Base->initResultCache()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4462
#9: Bitrix\Iblock\Component\Base->loadData()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4442
#10: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:271
#11: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#12: call_user_func(array)
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4627
#13: Bitrix\Iblock\Component\Base->doAction()
	/home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4645
#14: Bitrix\Iblock\Component\Base->executeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:648
#15: CBitrixComponent->includeComponent(string, array, object)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#16: CAllMain->IncludeComponent(string, string, array, object)
	/home/bitrix/www/bitrix/templates/proTemplate/components/bitrix/catalog/prokatis_new/element.php:411
#17: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:725
#18: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:820
#19: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:745
#20: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:693
#21: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#22: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:604
#23: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:663
#24: CBitrixComponent->includeComponent(string, array, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#25: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/www/katalog/index.php:744
#26: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#27: include_once(string)
	/home/bitrix/www/404.php:2