select count(*) as c from product as p where exists(select 1 from program where id=program_id and exists(select 1 from xml where id=xml_id and deleted=0)) and ((exists(select 1 from category where category.id in (13, 14, 15, 16, 21, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 242, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 260, 258, 60, 259, 261, 243) and exists(select 1 from webe_catalog where p.webe_catalog_id=webe_catalog.id and p.webe_catalog_id=webe_catalog.id and EXISTS( select 1 from category_webe_catalog where category_webe_catalog.webe_catalog_id=webe_catalog.id and category_webe_catalog.category_id=category.id)))) or (false or exists(select 1 from product where name like '%Galaxy Core 2%' and id=p.id) or exists(select 1 from product where name like '%Core 2 Duos%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note 7%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S7 Edge Plus%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Trend%' and id=p.id) or exists(select 1 from product where name like '%Trend Plus%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A3%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A5 2016%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A5%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A7%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A8%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Ace 3%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Ace 4%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Alpha%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Core%' and id=p.id) or exists(select 1 from product where name like '%Galaxy E5%' and id=p.id) or exists(select 1 from product where name like '%E5 Duos%' and id=p.id) or exists(select 1 from product where name like '%Galaxy E7%' and id=p.id) or exists(select 1 from product where name like '%E7 Duos%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Fame%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Grand 2%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Grand Prime%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J1 2016%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J1%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J3 2017%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J3 2018%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J5 2016%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J5%' and id=p.id) or exists(select 1 from product where name like '%galaxy j7%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note 2%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note 3%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note 4%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note 5%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note Edge%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S ll%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S lll 3%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S4 Active%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S4 Mini%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S4%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S4 Zoom%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S5 Active%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S5 Mini%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S5 Neo%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S5%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S6 Active%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S6 edge Plus%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S6 edge%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S6%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S7 edge%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S7%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Trend Lite%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Young%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J5 2017%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A3 2017%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A5 2017%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A6 2018%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A6 Plus 2018%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A7 2017%' and id=p.id) or exists(select 1 from product where name like '%Galaxy A8 2018%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Core Prime%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J2 Prime%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J5 Prime%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J7 Prime%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note 8%' and id=p.id) or exists(select 1 from product where name like '%Galaxy Note 9%' and id=p.id) or exists(select 1 from product where name like '%Galaxy On7 Prime%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S9%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S8%' and id=p.id) or exists(select 1 from product where name like '%Galaxy J7 2016%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S8 Plus%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S9 Plus%' and id=p.id) or exists(select 1 from product where name like '%samsung%' and id=p.id) ))SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --max-session-mem-used=1073741824 option so it cannot execute this statement