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 (1, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 2, 3, 12, 183, 68, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 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, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 17, 18, 19, 36, 87, 88, 89, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 227, 228, 235, 236, 237, 238, 239, 240, 241, 304, 184, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 229, 230, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 231, 232, 233, 234, 243, 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, 262, 4, 5, 6, 7, 8, 9, 10, 11, 20, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 307, 263, 305, 306) 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 '%iphone%' and id=p.id) or exists(select 1 from product where name like '%etui iPhone 4%' and id=p.id) or exists(select 1 from product where name like '%4s%' and id=p.id) or exists(select 1 from product where name like '%iphone 5%' and id=p.id) or exists(select 1 from product where name like '%5s%' and id=p.id) or exists(select 1 from product where name like '%iphone se%' and id=p.id) or exists(select 1 from product where name like '%iPhone 5c%' and id=p.id) or exists(select 1 from product where name like '%5c%' and id=p.id) or exists(select 1 from product where name like '%iPhone 6 plus%' and id=p.id) or exists(select 1 from product where name like '%6s plus%' and id=p.id) or exists(select 1 from product where name like '%iphone 6%' and id=p.id) or exists(select 1 from product where name like '%6s%' and id=p.id) or exists(select 1 from product where name like '%iphone 7%' and id=p.id) or exists(select 1 from product where name like '%iphone 7 plus%' and id=p.id) or exists(select 1 from product where name like '%iphone 8%' and id=p.id) or exists(select 1 from product where name like '%iPhone 8 Plus%' and id=p.id) or exists(select 1 from product where name like '%iPhone X%' and id=p.id) or exists(select 1 from product where name like '%Xs%' and id=p.id) or exists(select 1 from product where name like '%iPhone XR%' and id=p.id) or exists(select 1 from product where name like '%iPhone Xs Max%' and id=p.id) or exists(select 1 from product where name like '%lenovo%' and id=p.id) or exists(select 1 from product where name like '%Lenovo S60%' and id=p.id) or exists(select 1 from product where name like '%Galaxy S 3 lll Mini%' and id=p.id) or exists(select 1 from product where name like '%htc%' and id=p.id) or exists(select 1 from product where name like '%HTC 10%' and id=p.id) or exists(select 1 from product where name like '%Desire Bravo%' and id=p.id) or exists(select 1 from product where name like '%Desire 10 Lifestyle%' and id=p.id) or exists(select 1 from product where name like '%Desire 10 Pro%' and id=p.id) or exists(select 1 from product where name like '%Desire 12%' and id=p.id) or exists(select 1 from product where name like '%Desire 12 Plus%' and id=p.id) or exists(select 1 from product where name like '%Desire 200%' and id=p.id) or exists(select 1 from product where name like '%Desire 210%' and id=p.id) or exists(select 1 from product where name like '%Desire 300%' and id=p.id) or exists(select 1 from product where name like '%Desire 310%' and id=p.id) or exists(select 1 from product where name like '%Desire 320%' and id=p.id) or exists(select 1 from product where name like '%HTC Desire 500%' and id=p.id) or exists(select 1 from product where name like '%Desire 510%' and id=p.id) or exists(select 1 from product where name like '%Desire 516%' and id=p.id) or exists(select 1 from product where name like '%316%' and id=p.id) or exists(select 1 from product where name like '%Desire 526%' and id=p.id) or exists(select 1 from product where name like '%Desire 530 / 630%' and id=p.id) or exists(select 1 from product where name like '%HTC Desire 600%' and id=p.id) or exists(select 1 from product where name like '%Desire 601%' and id=p.id) or exists(select 1 from product where name like '%Desire 610%' and id=p.id) or exists(select 1 from product where name like '%Desire 616%' and id=p.id) or exists(select 1 from product where name like '%Desire 620/620G%' and id=p.id) or exists(select 1 from product where name like '%Desire 626%' and id=p.id) or exists(select 1 from product where name like '%Desire 628%' and id=p.id) or exists(select 1 from product where name like '%Desire 700%' and id=p.id) or exists(select 1 from product where name like '%Desire 728%' and id=p.id) or exists(select 1 from product where name like '%Desire 816%' and id=p.id) or exists(select 1 from product where name like '%Desire 820 mini%' and id=p.id) or exists(select 1 from product where name like '%Desire 820%' and id=p.id) or exists(select 1 from product where name like '%820G dual SIM%' and id=p.id) or exists(select 1 from product where name like '%Desire 825%' and id=p.id) or exists(select 1 from product where name like '%Desire 826%' and id=p.id) or exists(select 1 from product where name like '%Desire 826%' and id=p.id) or exists(select 1 from product where name like '%Desire 830%' and id=p.id) or exists(select 1 from product where name like '%HTC Desire Eye%' and id=p.id) or exists(select 1 from product where name like '%Desire HD%' and id=p.id) or exists(select 1 from product where name like '%Desire X%' and id=p.id) or exists(select 1 from product where name like '%HTC One (M7)%' and id=p.id) or exists(select 1 from product where name like '%HTC One A9%' and id=p.id) or exists(select 1 from product where name like '%HTC One E8%' and id=p.id) or exists(select 1 from product where name like '%E8 Dual SIM%' and id=p.id) or exists(select 1 from product where name like '%HTC One E9 Plus%' and id=p.id) or exists(select 1 from product where name like '%HTC One E9s dual SIM%' and id=p.id) or exists(select 1 from product where name like '%HTC One M8%' and id=p.id) or exists(select 1 from product where name like '%M8s%' and id=p.id) or exists(select 1 from product where name like '%HTC One M9 Plus%' and id=p.id) or exists(select 1 from product where name like '%HTC One M9%' and id=p.id) or exists(select 1 from product where name like '%M9s%' and id=p.id) or exists(select 1 from product where name like '%HTC One Max%' and id=p.id) or exists(select 1 from product where name like '%HTC One ME%' and id=p.id) or exists(select 1 from product where name like '%HTC One Mini%' and id=p.id) or exists(select 1 from product where name like '%One Mini 2 (M8 mini)%' and id=p.id) or exists(select 1 from product where name like '%HTC One S%' and id=p.id) or exists(select 1 from product where name like '%HTC One V%' and id=p.id) or exists(select 1 from product where name like '%HTC One X%' and id=p.id) or exists(select 1 from product where name like '%HTC One X9%' and id=p.id) or exists(select 1 from product where name like '%HTC U Play%' and id=p.id) or exists(select 1 from product where name like '%HTC U11%' and id=p.id) or exists(select 1 from product where name like '%HTC U11 Life%' and id=p.id) or exists(select 1 from product where name like '%HTC U11 Plus%' and id=p.id) or exists(select 1 from product where name like '%U12 Life%' and id=p.id) or exists(select 1 from product where name like '%HTC U12 Plus%' and id=p.id) or exists(select 1 from product where name like '%HTC Wildfire%' and id=p.id) or exists(select 1 from product where name like '%HTC Wildfire S%' and id=p.id) or exists(select 1 from product where name like '%HTC X10%' and id=p.id) or exists(select 1 from product where name like '%huawei%' and id=p.id) or exists(select 1 from product where name like '%Huawei P10%' and id=p.id) or exists(select 1 from product where name like '%Huawei P10 lite%' and id=p.id) or exists(select 1 from product where name like '%P9 Huawei%' and id=p.id) or exists(select 1 from product where name like '%G8 Rio%' and id=p.id) or exists(select 1 from product where name like '%Honor 4C%' and id=p.id) or exists(select 1 from product where name like '%Honor 4X%' and id=p.id) or exists(select 1 from product where name like '%Honor 6%' and id=p.id) or exists(select 1 from product where name like '%Huawei G7 Ascend%' and id=p.id) or exists(select 1 from product where name like '%Huawei Honor 10%' and id=p.id) or exists(select 1 from product where name like '%Huawei Honor 8%' and id=p.id) or exists(select 1 from product where name like '%Huawei Honor 9%' and id=p.id) or exists(select 1 from product where name like '%Mate 10 Lite%' and id=p.id) or exists(select 1 from product where name like '%Huawei Mate 10 Pro%' and id=p.id) or exists(select 1 from product where name like '%Huawei Mate 20 Lite%' and id=p.id) or exists(select 1 from product where name like '%Huawei Mate 9%' and id=p.id) or exists(select 1 from product where name like '%Huawei Nova 3%' and id=p.id) or exists(select 1 from product where name like '%Huawei P Smart%' and id=p.id) or exists(select 1 from product where name like '%P Smart Dual Sim%' and id=p.id) or exists(select 1 from product where name like '%Huawei P20%' and id=p.id) or exists(select 1 from product where name like '%Huawei P20 Lite%' and id=p.id) or exists(select 1 from product where name like '%Huawei P20 Pro%' and id=p.id) or exists(select 1 from product where name like '%Huawei P9 Plus%' and id=p.id) or exists(select 1 from product where name like '%Huawei Y5 2018%' and id=p.id) or exists(select 1 from product where name like '%Huawei Y6 2018%' and id=p.id) or exists(select 1 from product where name like '%Huawei Y7 Prime 2018%' and id=p.id) or exists(select 1 from product where name like '%Mate 7%' and id=p.id) or exists(select 1 from product where name like '%Mate S carrera%' and id=p.id) or exists(select 1 from product where name like '%P6 Ascend Huawei%' and id=p.id) or exists(select 1 from product where name like '%P7 Ascend Huawei%' and id=p.id) or exists(select 1 from product where name like '%Huawei P8%' and id=p.id) or exists(select 1 from product where name like '%P8 Lite%' and id=p.id) or exists(select 1 from product where name like '%P9 Lite 2017 Huawei%' and id=p.id) or exists(select 1 from product where name like '%P9 Lite%' and id=p.id) or exists(select 1 from product where name like '%Y 635%' and id=p.id) or exists(select 1 from product where name like '%lg%' and id=p.id) or exists(select 1 from product where name like '%LG L Prime%' and id=p.id) or exists(select 1 from product where name like '%LG G3 Stylus%' and id=p.id) or exists(select 1 from product where name like '%LG G4 Stylus%' and id=p.id) or exists(select 1 from product where name like '%LG K5%' and id=p.id) or exists(select 1 from product where name like '%LG L Bello Dual%' and id=p.id) or exists(select 1 from product where name like '%LG L Fino%' and id=p.id) or exists(select 1 from product where name like '%LG L70%' and id=p.id) or exists(select 1 from product where name like '%LG Nexus 5X%' and id=p.id) or exists(select 1 from product where name like '%LG Ray X190%' and id=p.id) or exists(select 1 from product where name like '%LG V10%' and id=p.id) or exists(select 1 from product where name like '%V10 Dual SIM%' and id=p.id) or exists(select 1 from product where name like '%LG X cam%' and id=p.id) or exists(select 1 from product where name like '%LG X Power Dual SIM%' and id=p.id) or exists(select 1 from product where name like '%LG X Style%' and id=p.id) or exists(select 1 from product where name like '%LG G2%' and id=p.id) or exists(select 1 from product where name like '%LG G3%' and id=p.id) or exists(select 1 from product where name like '%LG G3s%' and id=p.id) or exists(select 1 from product where name like '%G3 mini%' and id=p.id) or exists(select 1 from product where name like '%LG G4%' and id=p.id) or exists(select 1 from product where name like '%LG G5%' and id=p.id) or exists(select 1 from product where name like '%LG G7%' and id=p.id) or exists(select 1 from product where name like '%LG K10%' and id=p.id) or exists(select 1 from product where name like '%LG K3%' and id=p.id) or exists(select 1 from product where name like '%LG K4%' and id=p.id) or exists(select 1 from product where name like '%LG K7%' and id=p.id) or exists(select 1 from product where name like '%LG K8%' and id=p.id) or exists(select 1 from product where name like '%LG Q7%' and id=p.id) or exists(select 1 from product where name like '%LG X screen%' and id=p.id) or exists(select 1 from product where name like '%microsoft%' and id=p.id) or exists(select 1 from product where name like '%Lumia%' and id=p.id) or exists(select 1 from product where name like '%Lumia 1020%' and id=p.id) or exists(select 1 from product where name like '%Lumia 1320%' and id=p.id) or exists(select 1 from product where name like '%Lumia 1520%' and id=p.id) or exists(select 1 from product where name like '%Lumia 435%' and id=p.id) or exists(select 1 from product where name like '%Lumia 510%' and id=p.id) or exists(select 1 from product where name like '%Lumia 520%' and id=p.id) or exists(select 1 from product where name like '%Lumia n530%' and id=p.id) or exists(select 1 from product where name like '%Lumia 535%' and id=p.id) or exists(select 1 from product where name like '%Lumia 550%' and id=p.id) or exists(select 1 from product where name like '%Lumia 610%' and id=p.id) or exists(select 1 from product where name like '%Lumia 625%' and id=p.id) or exists(select 1 from product where name like '%Lumia 630%' and id=p.id) or exists(select 1 from product where name like '%Lumia 635%' and id=p.id) or exists(select 1 from product where name like '%Lumia 640 Dual SIM LTE%' and id=p.id) or exists(select 1 from product where name like '%Lumia 640 XL%' and id=p.id) or exists(select 1 from product where name like '%Lumia 650%' and id=p.id) or exists(select 1 from product where name like '%Lumia 710%' and id=p.id) or exists(select 1 from product where name like '%Lumia 720%' and id=p.id) or exists(select 1 from product where name like '%Lumia 800%' and id=p.id) or exists(select 1 from product where name like '%Lumia 820%' and id=p.id) or exists(select 1 from product where name like '%Lumia 830%' and id=p.id) or exists(select 1 from product where name like '%Lumia 850%' and id=p.id) or exists(select 1 from product where name like '%Lumia 900%' and id=p.id) or exists(select 1 from product where name like '%Lumia 920%' and id=p.id) or exists(select 1 from product where name like '%Lumia 930%' and id=p.id) or exists(select 1 from product where name like '%Lumia 950%' and id=p.id) or exists(select 1 from product where name like '%Lumia 950 XL%' and id=p.id) or exists(select 1 from product where name like '%Lumia 730/735%' and id=p.id) or exists(select 1 from product where name like '%samsung%' and id=p.id) 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 '%sony%' and id=p.id) or exists(select 1 from product where name like '%XPERIA C%' and id=p.id) or exists(select 1 from product where name like '%XPERIA C3%' and id=p.id) or exists(select 1 from product where name like '%XPERIA C4%' and id=p.id) or exists(select 1 from product where name like '%XPERIA C5%' and id=p.id) or exists(select 1 from product where name like '%XPERIA C6%' and id=p.id) or exists(select 1 from product where name like '%XPERIA T2%' and id=p.id) or exists(select 1 from product where name like '%XPERIA X%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XA%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z1 Compact%' and id=p.id) or exists(select 1 from product where name like '%XPERIA E%' and id=p.id) or exists(select 1 from product where name like '%XPERIA E1%' and id=p.id) or exists(select 1 from product where name like '%XPERIA E3%' and id=p.id) or exists(select 1 from product where name like '%XPERIA E4%' and id=p.id) or exists(select 1 from product where name like '%XPERIA J%' and id=p.id) or exists(select 1 from product where name like '%XPERIA L%' and id=p.id) or exists(select 1 from product where name like '%XPERIA M%' and id=p.id) or exists(select 1 from product where name like '%XPERIA M2%' and id=p.id) or exists(select 1 from product where name like '%XPERIA M4 Aqua%' and id=p.id) or exists(select 1 from product where name like '%XPERIA M5%' and id=p.id) or exists(select 1 from product where name like '%XPERIA P%' and id=p.id) or exists(select 1 from product where name like '%XPERIA SP%' and id=p.id) or exists(select 1 from product where name like '%XPERIA T%' and id=p.id) or exists(select 1 from product where name like '%XPERIA T3%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Tipo%' and id=p.id) or exists(select 1 from product where name like '%XPERIA U%' and id=p.id) or exists(select 1 from product where name like '%XPERIA V%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XA1%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XA1 Plus%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XA1 Ultra%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XA2 Ultra%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XZ%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XZ Premium%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XZ1%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XZ1 Compact%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XZ2%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XZ2 Compact%' and id=p.id) or exists(select 1 from product where name like '%XPERIA XZ3%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z1%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z2%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z3 Compact%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z4%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z4 Compact%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z5 Premium%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z5 Premium%' and id=p.id) or exists(select 1 from product where name like '%XPERIA Z5%' and id=p.id) or exists(select 1 from product where name like '%Z3%' and id=p.id) or exists(select 1 from product where name like '%xperia L1%' 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