SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_varchar` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (173754, 173755, 173756, 173757, 173758, 173759, 173760, 173761, 173762, 173763, 173764, 173765, 173766, 173767, 173768, 173769, 173771, 173772, 173773, 173774, 173775, 173776, 173777, 173778, 173779, 173780, 173781, 173782, 173783, 173784, 173785, 173786, 173788, 173789, 173791, 173792, 173793, 173794, 173795, 173796, 173797, 173798, 173799, 173800, 173801, 173802, 173803, 173804, 173805, 173806, 173807, 173808, 173809, 173810, 173811, 173812, 173813, 173814, 175422, 175437, 175468, 175535, 175580, 175593, 175608, 175609, 175613, 175621, 175623, 175638, 175669, 175680, 176905, 176906, 177165, 177166, 177376, 177395, 177399, 177406, 177428, 177470, 177487, 177488, 177489, 177504, 177509, 177518, 177519, 177523, 177564, 177611, 177618, 177620, 177621, 177660, 177661, 177743, 177744, 177920, 177997, 178032, 178142, 178160, 178369, 178370, 178387, 178389, 178592, 178594, 178759, 178790, 178817, 178820, 178835, 178857, 178859, 178861, 178993, 179033, 179081, 179089, 179091, 179093, 179094, 179211, 179281, 179283, 179310, 179358, 179360, 179435, 179478, 179547, 179559, 179804, 179807, 179825, 179828, 179830, 179968, 180029, 180056, 180065, 205583, 216374, 216382, 216383, 216384, 216432, 216434, 216444, 216446, 216515, 216517, 216536, 216557, 216558, 216562, 216563, 216578, 216580, 216586, 216588, 216647, 216649, 216656, 216707, 216713, 313556, 313557, 313558, 313559, 313560, 313561, 313562, 313563, 313564, 313565, 313566, 313567, 313568, 313569, 313570, 313571, 313572, 313573, 313574, 313575, 313576, 313577, 313578, 313579, 313580, 313581, 313582, 313583, 313584, 313585, 313586, 313587, 313588, 313589, 313590, 313591, 313592, 313593, 313594, 313595, 313596, 313597, 313598, 313599, 313600, 313601, 313602, 313603, 313604, 313605, 313606, 313607, 313608, 313609, 313610, 313611, 313612, 313613, 313614, 313615, 313616, 313617, 313618, 313619, 313620, 313621, 313622, 313623, 313624, 313625, 313626, 313627, 313628, 313629, 313630, 313631, 313632, 313633, 313634, 313635, 313636, 313637, 313638, 313639, 313640, 313641, 313642, 313643, 313644, 313645, 313646, 313647, 313648, 313649, 313650, 313651, 313652, 313653, 313654, 313655, 313656, 313657, 313658, 313659, 313660, 313661, 313662, 313663, 313664, 313665, 313666, 313667, 313668, 313669, 313670, 313671, 313672, 313673, 313674, 313675, 313676, 313677, 313678, 313679, 313680, 313681, 313682, 313683, 313684, 313685, 313686, 313687, 313688, 313689, 313690, 313691, 313692, 313693, 313694, 313695, 313696, 313697, 313698, 313699, 313700, 313701, 313702, 313703, 313704, 313705, 313706, 313707, 313708, 313709, 313710, 313711, 313712, 313713, 313714, 313715, 313716, 313717, 313718, 313719, 313720, 313721, 313722, 313723, 313724, 313725, 313726, 313727, 313728, 313729, 313730, 313731, 313732, 313733, 313734, 313735, 313736, 313737, 313738, 313739, 313740, 313741, 313742, 313743, 313744, 313745, 313746, 313747, 313748, 313749, 313750, 313751, 313752, 313753, 313754, 313755, 313756, 313757, 313758, 313759, 313760, 313761, 313762, 313763, 313764, 313765, 313766, 313767, 313768, 313769, 313770, 313771, 313772, 313773, 313774, 313775, 313776, 313777, 313778, 313779, 313780, 313781, 313782, 313783, 313784, 313785, 313786, 313787, 313788, 313789, 313790, 313791, 313792, 313793, 313794, 313795, 313796, 313797, 313798, 313799, 313800, 313801, 313802, 313803, 313804, 313805, 313806, 313807, 313808, 313809, 313810, 313811, 313812, 313813, 313814, 313815, 313816, 313817, 313818, 313819, 313820, 313821, 313822, 313823, 313824, 313825, 313826, 313827, 313828, 313829, 313830, 313831, 313832, 313833, 313834, 313835, 313836, 313837, 313838, 313839, 313840, 313841, 313842, 313843, 313844, 313845, 313846, 313847, 313848, 313849, 313850, 313851, 313852, 313853, 313854, 313855, 313856, 313857, 313858, 313859, 313860, 313861, 313862, 313863, 313864, 313865, 313866, 313867, 313868, 313869, 313870, 313871, 313872, 313873, 313874, 313875, 313876, 313877, 313878, 313879, 313880, 313881, 313882, 313883, 313884, 313885, 313886, 313887, 313888, 313889, 313890, 313891, 313892, 313893, 313894, 313895, 313896, 313897, 313898, 313899, 313900, 313901, 313902, 313903, 313904, 313905, 313906, 313907, 313908, 313909, 313910, 313911, 313912, 313913, 313914, 313915, 313916, 313917, 313918, 313919, 313920, 313921, 313922, 313923, 313924, 313925, 313926, 313927, 313928, 313929, 313930, 313931, 313932, 313933, 313934, 313935, 313936, 313937, 313938, 313939, 313940, 313941, 313942, 313943, 313944, 313945, 313946, 313947, 313948, 313949, 313950, 313951, 313952, 313953, 313954, 313955, 313956, 313957, 313958, 313959, 313960, 313961, 313962, 313963, 313964, 313965, 313966, 313967, 313968, 313969, 313970, 313971, 313972, 313973, 313974, 313975, 313976, 313977, 313978, 313979, 313980, 313981, 313982, 313983, 313984, 313985, 313986, 313987, 313988, 313989, 313990, 313991, 313992, 313993, 313994, 313995, 313996, 313997, 313998, 313999, 314000, 314001, 314002, 314003, 314004, 314005, 314006, 314007, 314008, 314009, 314010, 314011, 314012, 314013, 314014, 314015, 314016, 314017, 314018, 314019, 314020, 314021, 314022, 314023, 314024, 314025, 314026, 314027, 314028, 314029, 314030, 314031, 314032, 314033, 314034, 314035, 314036, 314037, 314038, 314039, 314040, 314041, 314042, 314043, 314044, 314045, 314046, 314047, 314048, 314049, 314050, 314051, 314052, 314053, 314054, 314055, 314056, 314057, 314058, 314059, 314060, 314061, 314062, 314063, 314064, 314065, 314066, 314067, 314068, 314069, 314070, 314071, 314072, 314073, 314074, 314075, 314076, 314077, 314078, 314079, 314080, 314081, 314082, 314083, 314084, 314085, 314086, 314087, 314088, 314089, 314090, 314091, 314092, 314093, 314094, 314095, 314096, 314097, 314098, 314099, 314100, 314101, 314102, 314103, 314104, 314105, 314106, 314107, 314108, 314109, 314110, 314111, 314112, 314113, 314114, 314115, 314116, 314117, 314118, 314119, 314120, 314121, 314122, 314123, 314124, 314125, 314126, 314127, 314128, 314129, 314130, 314131, 314132, 314133, 314134, 314135, 314136, 314137, 314138, 314139, 314140, 314141, 314142, 314143, 314144, 314145, 314146, 314147, 314148, 314149, 314150, 314151, 314152, 314153, 314154, 314155, 314156, 314157, 314158, 314159, 314160, 314161, 314162, 314163, 314164, 314165, 314166, 314167, 314168, 314169, 314170, 314171, 314172, 314173, 314174, 314175, 314176, 314177, 314178, 314179, 314180, 314181, 314182, 314183, 314184, 314185, 314186, 314187, 314188, 314189, 314190, 314191, 314192, 314193, 314194, 314195, 314196, 314197, 314198, 314199, 314200, 314201, 314202, 314203, 314204, 314205, 314206, 314207, 314208, 314209, 314210, 314211, 314212, 314213, 314214, 314215, 314216, 314217, 314218, 314219, 314220, 314221, 314222, 314223, 314224, 314225, 314226, 314227, 314228, 314229, 314230, 314231, 314232, 314233, 314234, 314235, 314236, 314237, 314238, 314239, 314240, 314241, 314242, 314243, 314244, 314245, 314246, 314247, 314248, 314249, 314250, 314251, 314252, 314253, 314254, 314255, 314256, 314257, 314258, 314259, 314260, 314261, 314262, 314263, 314264, 314265, 314267, 314268, 314269, 314270, 314271, 314272, 314273, 314274, 314275, 314276, 314277, 391544)) AND (t_d.attribute_id IN ('96', '109')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_text` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_text` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (173754, 173755, 173756, 173757, 173758, 173759, 173760, 173761, 173762, 173763, 173764, 173765, 173766, 173767, 173768, 173769, 173771, 173772, 173773, 173774, 173775, 173776, 173777, 173778, 173779, 173780, 173781, 173782, 173783, 173784, 173785, 173786, 173788, 173789, 173791, 173792, 173793, 173794, 173795, 173796, 173797, 173798, 173799, 173800, 173801, 173802, 173803, 173804, 173805, 173806, 173807, 173808, 173809, 173810, 173811, 173812, 173813, 173814, 175422, 175437, 175468, 175535, 175580, 175593, 175608, 175609, 175613, 175621, 175623, 175638, 175669, 175680, 176905, 176906, 177165, 177166, 177376, 177395, 177399, 177406, 177428, 177470, 177487, 177488, 177489, 177504, 177509, 177518, 177519, 177523, 177564, 177611, 177618, 177620, 177621, 177660, 177661, 177743, 177744, 177920, 177997, 178032, 178142, 178160, 178369, 178370, 178387, 178389, 178592, 178594, 178759, 178790, 178817, 178820, 178835, 178857, 178859, 178861, 178993, 179033, 179081, 179089, 179091, 179093, 179094, 179211, 179281, 179283, 179310, 179358, 179360, 179435, 179478, 179547, 179559, 179804, 179807, 179825, 179828, 179830, 179968, 180029, 180056, 180065, 205583, 216374, 216382, 216383, 216384, 216432, 216434, 216444, 216446, 216515, 216517, 216536, 216557, 216558, 216562, 216563, 216578, 216580, 216586, 216588, 216647, 216649, 216656, 216707, 216713, 313556, 313557, 313558, 313559, 313560, 313561, 313562, 313563, 313564, 313565, 313566, 313567, 313568, 313569, 313570, 313571, 313572, 313573, 313574, 313575, 313576, 313577, 313578, 313579, 313580, 313581, 313582, 313583, 313584, 313585, 313586, 313587, 313588, 313589, 313590, 313591, 313592, 313593, 313594, 313595, 313596, 313597, 313598, 313599, 313600, 313601, 313602, 313603, 313604, 313605, 313606, 313607, 313608, 313609, 313610, 313611, 313612, 313613, 313614, 313615, 313616, 313617, 313618, 313619, 313620, 313621, 313622, 313623, 313624, 313625, 313626, 313627, 313628, 313629, 313630, 313631, 313632, 313633, 313634, 313635, 313636, 313637, 313638, 313639, 313640, 313641, 313642, 313643, 313644, 313645, 313646, 313647, 313648, 313649, 313650, 313651, 313652, 313653, 313654, 313655, 313656, 313657, 313658, 313659, 313660, 313661, 313662, 313663, 313664, 313665, 313666, 313667, 313668, 313669, 313670, 313671, 313672, 313673, 313674, 313675, 313676, 313677, 313678, 313679, 313680, 313681, 313682, 313683, 313684, 313685, 313686, 313687, 313688, 313689, 313690, 313691, 313692, 313693, 313694, 313695, 313696, 313697, 313698, 313699, 313700, 313701, 313702, 313703, 313704, 313705, 313706, 313707, 313708, 313709, 313710, 313711, 313712, 313713, 313714, 313715, 313716, 313717, 313718, 313719, 313720, 313721, 313722, 313723, 313724, 313725, 313726, 313727, 313728, 313729, 313730, 313731, 313732, 313733, 313734, 313735, 313736, 313737, 313738, 313739, 313740, 313741, 313742, 313743, 313744, 313745, 313746, 313747, 313748, 313749, 313750, 313751, 313752, 313753, 313754, 313755, 313756, 313757, 313758, 313759, 313760, 313761, 313762, 313763, 313764, 313765, 313766, 313767, 313768, 313769, 313770, 313771, 313772, 313773, 313774, 313775, 313776, 313777, 313778, 313779, 313780, 313781, 313782, 313783, 313784, 313785, 313786, 313787, 313788, 313789, 313790, 313791, 313792, 313793, 313794, 313795, 313796, 313797, 313798, 313799, 313800, 313801, 313802, 313803, 313804, 313805, 313806, 313807, 313808, 313809, 313810, 313811, 313812, 313813, 313814, 313815, 313816, 313817, 313818, 313819, 313820, 313821, 313822, 313823, 313824, 313825, 313826, 313827, 313828, 313829, 313830, 313831, 313832, 313833, 313834, 313835, 313836, 313837, 313838, 313839, 313840, 313841, 313842, 313843, 313844, 313845, 313846, 313847, 313848, 313849, 313850, 313851, 313852, 313853, 313854, 313855, 313856, 313857, 313858, 313859, 313860, 313861, 313862, 313863, 313864, 313865, 313866, 313867, 313868, 313869, 313870, 313871, 313872, 313873, 313874, 313875, 313876, 313877, 313878, 313879, 313880, 313881, 313882, 313883, 313884, 313885, 313886, 313887, 313888, 313889, 313890, 313891, 313892, 313893, 313894, 313895, 313896, 313897, 313898, 313899, 313900, 313901, 313902, 313903, 313904, 313905, 313906, 313907, 313908, 313909, 313910, 313911, 313912, 313913, 313914, 313915, 313916, 313917, 313918, 313919, 313920, 313921, 313922, 313923, 313924, 313925, 313926, 313927, 313928, 313929, 313930, 313931, 313932, 313933, 313934, 313935, 313936, 313937, 313938, 313939, 313940, 313941, 313942, 313943, 313944, 313945, 313946, 313947, 313948, 313949, 313950, 313951, 313952, 313953, 313954, 313955, 313956, 313957, 313958, 313959, 313960, 313961, 313962, 313963, 313964, 313965, 313966, 313967, 313968, 313969, 313970, 313971, 313972, 313973, 313974, 313975, 313976, 313977, 313978, 313979, 313980, 313981, 313982, 313983, 313984, 313985, 313986, 313987, 313988, 313989, 313990, 313991, 313992, 313993, 313994, 313995, 313996, 313997, 313998, 313999, 314000, 314001, 314002, 314003, 314004, 314005, 314006, 314007, 314008, 314009, 314010, 314011, 314012, 314013, 314014, 314015, 314016, 314017, 314018, 314019, 314020, 314021, 314022, 314023, 314024, 314025, 314026, 314027, 314028, 314029, 314030, 314031, 314032, 314033, 314034, 314035, 314036, 314037, 314038, 314039, 314040, 314041, 314042, 314043, 314044, 314045, 314046, 314047, 314048, 314049, 314050, 314051, 314052, 314053, 314054, 314055, 314056, 314057, 314058, 314059, 314060, 314061, 314062, 314063, 314064, 314065, 314066, 314067, 314068, 314069, 314070, 314071, 314072, 314073, 314074, 314075, 314076, 314077, 314078, 314079, 314080, 314081, 314082, 314083, 314084, 314085, 314086, 314087, 314088, 314089, 314090, 314091, 314092, 314093, 314094, 314095, 314096, 314097, 314098, 314099, 314100, 314101, 314102, 314103, 314104, 314105, 314106, 314107, 314108, 314109, 314110, 314111, 314112, 314113, 314114, 314115, 314116, 314117, 314118, 314119, 314120, 314121, 314122, 314123, 314124, 314125, 314126, 314127, 314128, 314129, 314130, 314131, 314132, 314133, 314134, 314135, 314136, 314137, 314138, 314139, 314140, 314141, 314142, 314143, 314144, 314145, 314146, 314147, 314148, 314149, 314150, 314151, 314152, 314153, 314154, 314155, 314156, 314157, 314158, 314159, 314160, 314161, 314162, 314163, 314164, 314165, 314166, 314167, 314168, 314169, 314170, 314171, 314172, 314173, 314174, 314175, 314176, 314177, 314178, 314179, 314180, 314181, 314182, 314183, 314184, 314185, 314186, 314187, 314188, 314189, 314190, 314191, 314192, 314193, 314194, 314195, 314196, 314197, 314198, 314199, 314200, 314201, 314202, 314203, 314204, 314205, 314206, 314207, 314208, 314209, 314210, 314211, 314212, 314213, 314214, 314215, 314216, 314217, 314218, 314219, 314220, 314221, 314222, 314223, 314224, 314225, 314226, 314227, 314228, 314229, 314230, 314231, 314232, 314233, 314234, 314235, 314236, 314237, 314238, 314239, 314240, 314241, 314242, 314243, 314244, 314245, 314246, 314247, 314248, 314249, 314250, 314251, 314252, 314253, 314254, 314255, 314256, 314257, 314258, 314259, 314260, 314261, 314262, 314263, 314264, 314265, 314267, 314268, 314269, 314270, 314271, 314272, 314273, 314274, 314275, 314276, 314277, 391544)) AND (t_d.attribute_id IN ('506')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_int` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_int` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (173754, 173755, 173756, 173757, 173758, 173759, 173760, 173761, 173762, 173763, 173764, 173765, 173766, 173767, 173768, 173769, 173771, 173772, 173773, 173774, 173775, 173776, 173777, 173778, 173779, 173780, 173781, 173782, 173783, 173784, 173785, 173786, 173788, 173789, 173791, 173792, 173793, 173794, 173795, 173796, 173797, 173798, 173799, 173800, 173801, 173802, 173803, 173804, 173805, 173806, 173807, 173808, 173809, 173810, 173811, 173812, 173813, 173814, 175422, 175437, 175468, 175535, 175580, 175593, 175608, 175609, 175613, 175621, 175623, 175638, 175669, 175680, 176905, 176906, 177165, 177166, 177376, 177395, 177399, 177406, 177428, 177470, 177487, 177488, 177489, 177504, 177509, 177518, 177519, 177523, 177564, 177611, 177618, 177620, 177621, 177660, 177661, 177743, 177744, 177920, 177997, 178032, 178142, 178160, 178369, 178370, 178387, 178389, 178592, 178594, 178759, 178790, 178817, 178820, 178835, 178857, 178859, 178861, 178993, 179033, 179081, 179089, 179091, 179093, 179094, 179211, 179281, 179283, 179310, 179358, 179360, 179435, 179478, 179547, 179559, 179804, 179807, 179825, 179828, 179830, 179968, 180029, 180056, 180065, 205583, 216374, 216382, 216383, 216384, 216432, 216434, 216444, 216446, 216515, 216517, 216536, 216557, 216558, 216562, 216563, 216578, 216580, 216586, 216588, 216647, 216649, 216656, 216707, 216713, 313556, 313557, 313558, 313559, 313560, 313561, 313562, 313563, 313564, 313565, 313566, 313567, 313568, 313569, 313570, 313571, 313572, 313573, 313574, 313575, 313576, 313577, 313578, 313579, 313580, 313581, 313582, 313583, 313584, 313585, 313586, 313587, 313588, 313589, 313590, 313591, 313592, 313593, 313594, 313595, 313596, 313597, 313598, 313599, 313600, 313601, 313602, 313603, 313604, 313605, 313606, 313607, 313608, 313609, 313610, 313611, 313612, 313613, 313614, 313615, 313616, 313617, 313618, 313619, 313620, 313621, 313622, 313623, 313624, 313625, 313626, 313627, 313628, 313629, 313630, 313631, 313632, 313633, 313634, 313635, 313636, 313637, 313638, 313639, 313640, 313641, 313642, 313643, 313644, 313645, 313646, 313647, 313648, 313649, 313650, 313651, 313652, 313653, 313654, 313655, 313656, 313657, 313658, 313659, 313660, 313661, 313662, 313663, 313664, 313665, 313666, 313667, 313668, 313669, 313670, 313671, 313672, 313673, 313674, 313675, 313676, 313677, 313678, 313679, 313680, 313681, 313682, 313683, 313684, 313685, 313686, 313687, 313688, 313689, 313690, 313691, 313692, 313693, 313694, 313695, 313696, 313697, 313698, 313699, 313700, 313701, 313702, 313703, 313704, 313705, 313706, 313707, 313708, 313709, 313710, 313711, 313712, 313713, 313714, 313715, 313716, 313717, 313718, 313719, 313720, 313721, 313722, 313723, 313724, 313725, 313726, 313727, 313728, 313729, 313730, 313731, 313732, 313733, 313734, 313735, 313736, 313737, 313738, 313739, 313740, 313741, 313742, 313743, 313744, 313745, 313746, 313747, 313748, 313749, 313750, 313751, 313752, 313753, 313754, 313755, 313756, 313757, 313758, 313759, 313760, 313761, 313762, 313763, 313764, 313765, 313766, 313767, 313768, 313769, 313770, 313771, 313772, 313773, 313774, 313775, 313776, 313777, 313778, 313779, 313780, 313781, 313782, 313783, 313784, 313785, 313786, 313787, 313788, 313789, 313790, 313791, 313792, 313793, 313794, 313795, 313796, 313797, 313798, 313799, 313800, 313801, 313802, 313803, 313804, 313805, 313806, 313807, 313808, 313809, 313810, 313811, 313812, 313813, 313814, 313815, 313816, 313817, 313818, 313819, 313820, 313821, 313822, 313823, 313824, 313825, 313826, 313827, 313828, 313829, 313830, 313831, 313832, 313833, 313834, 313835, 313836, 313837, 313838, 313839, 313840, 313841, 313842, 313843, 313844, 313845, 313846, 313847, 313848, 313849, 313850, 313851, 313852, 313853, 313854, 313855, 313856, 313857, 313858, 313859, 313860, 313861, 313862, 313863, 313864, 313865, 313866, 313867, 313868, 313869, 313870, 313871, 313872, 313873, 313874, 313875, 313876, 313877, 313878, 313879, 313880, 313881, 313882, 313883, 313884, 313885, 313886, 313887, 313888, 313889, 313890, 313891, 313892, 313893, 313894, 313895, 313896, 313897, 313898, 313899, 313900, 313901, 313902, 313903, 313904, 313905, 313906, 313907, 313908, 313909, 313910, 313911, 313912, 313913, 313914, 313915, 313916, 313917, 313918, 313919, 313920, 313921, 313922, 313923, 313924, 313925, 313926, 313927, 313928, 313929, 313930, 313931, 313932, 313933, 313934, 313935, 313936, 313937, 313938, 313939, 313940, 313941, 313942, 313943, 313944, 313945, 313946, 313947, 313948, 313949, 313950, 313951, 313952, 313953, 313954, 313955, 313956, 313957, 313958, 313959, 313960, 313961, 313962, 313963, 313964, 313965, 313966, 313967, 313968, 313969, 313970, 313971, 313972, 313973, 313974, 313975, 313976, 313977, 313978, 313979, 313980, 313981, 313982, 313983, 313984, 313985, 313986, 313987, 313988, 313989, 313990, 313991, 313992, 313993, 313994, 313995, 313996, 313997, 313998, 313999, 314000, 314001, 314002, 314003, 314004, 314005, 314006, 314007, 314008, 314009, 314010, 314011, 314012, 314013, 314014, 314015, 314016, 314017, 314018, 314019, 314020, 314021, 314022, 314023, 314024, 314025, 314026, 314027, 314028, 314029, 314030, 314031, 314032, 314033, 314034, 314035, 314036, 314037, 314038, 314039, 314040, 314041, 314042, 314043, 314044, 314045, 314046, 314047, 314048, 314049, 314050, 314051, 314052, 314053, 314054, 314055, 314056, 314057, 314058, 314059, 314060, 314061, 314062, 314063, 314064, 314065, 314066, 314067, 314068, 314069, 314070, 314071, 314072, 314073, 314074, 314075, 314076, 314077, 314078, 314079, 314080, 314081, 314082, 314083, 314084, 314085, 314086, 314087, 314088, 314089, 314090, 314091, 314092, 314093, 314094, 314095, 314096, 314097, 314098, 314099, 314100, 314101, 314102, 314103, 314104, 314105, 314106, 314107, 314108, 314109, 314110, 314111, 314112, 314113, 314114, 314115, 314116, 314117, 314118, 314119, 314120, 314121, 314122, 314123, 314124, 314125, 314126, 314127, 314128, 314129, 314130, 314131, 314132, 314133, 314134, 314135, 314136, 314137, 314138, 314139, 314140, 314141, 314142, 314143, 314144, 314145, 314146, 314147, 314148, 314149, 314150, 314151, 314152, 314153, 314154, 314155, 314156, 314157, 314158, 314159, 314160, 314161, 314162, 314163, 314164, 314165, 314166, 314167, 314168, 314169, 314170, 314171, 314172, 314173, 314174, 314175, 314176, 314177, 314178, 314179, 314180, 314181, 314182, 314183, 314184, 314185, 314186, 314187, 314188, 314189, 314190, 314191, 314192, 314193, 314194, 314195, 314196, 314197, 314198, 314199, 314200, 314201, 314202, 314203, 314204, 314205, 314206, 314207, 314208, 314209, 314210, 314211, 314212, 314213, 314214, 314215, 314216, 314217, 314218, 314219, 314220, 314221, 314222, 314223, 314224, 314225, 314226, 314227, 314228, 314229, 314230, 314231, 314232, 314233, 314234, 314235, 314236, 314237, 314238, 314239, 314240, 314241, 314242, 314243, 314244, 314245, 314246, 314247, 314248, 314249, 314250, 314251, 314252, 314253, 314254, 314255, 314256, 314257, 314258, 314259, 314260, 314261, 314262, 314263, 314264, 314265, 314267, 314268, 314269, 314270, 314271, 314272, 314273, 314274, 314275, 314276, 314277, 391544)) AND (t_d.attribute_id IN ('996')) AND (t_d.store_id = IFNULL(t_s.store_id, 0))