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_category_entity_varchar` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.row_id = t_d.row_id AND (e.created_in <= '1656513120' AND e.updated_in > '1656513120') LEFT JOIN `catalog_category_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.row_id = t_d.row_id AND t_s.store_id = 1 WHERE (e.entity_id IN (3658, 3663, 4780, 4818, 3796, 3678, 3789, 8939, 7487, 7489, 7495, 7493, 7491, 4816, 4817, 4764, 4799, 3659, 3664, 4955, 5049, 3699, 3720, 4954, 3790, 3797, 4769, 4656, 3679, 3792, 3799, 3673, 3676, 3774, 4529, 8100, 3754, 4875, 3865, 4751, 4850, 4777, 4812, 3712, 3732, 4857, 4950, 4956, 3798, 3803, 4903, 4808, 4871, 4774, 4782, 4935, 5805, 5809, 7499, 7517, 8102, 5733, 5715, 4778, 4814, 3700, 3855, 4834, 4947, 6099, 3919, 3864, 3804, 4961, 4804, 4953, 4770, 4788, 6045, 4939, 7501, 7519, 8104, 3698, 5739, 3692, 4765, 6985, 4838, 4949, 8879, 3929, 4931, 4840, 4962, 4807, 4951, 4773, 8649, 5455, 7503, 7521, 8106, 6023, 4779, 4815, 3708, 3722, 3862, 4948, 6073, 4957, 6071, 3807, 4904, 4963, 4805, 4835, 4771, 4795, 4852, 4964, 7505, 7523, 8108, 3710, 4798, 4813, 3707, 3733, 4839, 4946, 8837, 4958, 4932, 5891, 6111, 4772, 4791, 8215, 4854, 4965, 7507, 7525, 8110, 7025, 3705, 4801, 3782, 3918, 4959, 4933, 4806, 4826, 8229, 6109, 5755, 7509, 7527, 3706, 3735, 3777, 3973, 4960, 3914, 3816, 4827, 7675, 4973, 4796, 4938, 5965, 7513, 7529, 8114, 3704, 3847, 3788, 3965, 3972, 3928, 4975, 7679, 7451, 6517, 4907, 7511, 7531, 8116, 5985, 3856, 3939, 8881, 4914, 3823, 4865, 6105, 5877, 4794, 5415, 4967, 7533, 8118, 3771, 3726, 3786, 3962, 3941, 4810, 7677, 4776, 4785, 6921, 7087, 7681, 7535, 3882, 3725, 4139, 3946, 6919, 4793, 4934, 5523, 7537, 4803, 6017, 4152, 4873, 4848, 4784, 6917, 3849, 4153, 4187, 4908, 6113, 3850, 4797, 4968, 8279, 3902, 9347, 7093, 4247, 4783, 7251, 3971, 4310, 4790, 3886, 4246, 4786, 5401, 4789, 4787, 7950, 4781, 5663, 4080, 6791, 4792, 4397, 9007, 5351, 3846, 4472, 5403, 4444, 8659, 4442, 4910, 5405, 8271, 3885, 4483, 4450, 5883, 4134, 4585, 5951, 6885, 4046, 5875, 5941, 5453, 4148, 4602, 5071, 4610, 4538, 4972, 4680, 4583, 4185, 4033, 5757, 6711, 4601, 5383, 4094, 4711, 4609, 4048, 5229, 4683, 5355, 4710, 6515, 4238, 7135, 4095, 4245, 7237, 7249, 5433, 5447, 6025, 6959, 4180, 7952, 4309, 5411, 6973, 7097, 7924, 8593, 8813, 5361, 4261, 5413, 6967, 8925, 5467, 4297, 3697, 5537, 4440, 4448, 5425, 4453, 6983, 4323, 4361, 6935, 6509, 4320, 4536, 8120, 4581, 4590, 5943, 4600, 4336, 8821, 4679, 4034, 6713, 4510, 4709, 4513, 9345, 4531, 6945, 4260, 4411, 4548, 4412, 4508, 4760, 6039, 4577, 4578, 7435, 4607, 4532, 4549, 4639, 4576, 4579, 4661, 4642, 4671, 3672, 4744, 4624, 8613, 4629, 8681, 6991, 4677, 7964, 7119, 3675)) AND (t_d.attribute_id IN ('45')) 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_category_entity_int` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.row_id = t_d.row_id AND (e.created_in <= '1656513120' AND e.updated_in > '1656513120') LEFT JOIN `catalog_category_entity_int` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.row_id = t_d.row_id AND t_s.store_id = 1 WHERE (e.entity_id IN (3658, 3663, 4780, 4818, 3796, 3678, 3789, 8939, 7487, 7489, 7495, 7493, 7491, 4816, 4817, 4764, 4799, 3659, 3664, 4955, 5049, 3699, 3720, 4954, 3790, 3797, 4769, 4656, 3679, 3792, 3799, 3673, 3676, 3774, 4529, 8100, 3754, 4875, 3865, 4751, 4850, 4777, 4812, 3712, 3732, 4857, 4950, 4956, 3798, 3803, 4903, 4808, 4871, 4774, 4782, 4935, 5805, 5809, 7499, 7517, 8102, 5733, 5715, 4778, 4814, 3700, 3855, 4834, 4947, 6099, 3919, 3864, 3804, 4961, 4804, 4953, 4770, 4788, 6045, 4939, 7501, 7519, 8104, 3698, 5739, 3692, 4765, 6985, 4838, 4949, 8879, 3929, 4931, 4840, 4962, 4807, 4951, 4773, 8649, 5455, 7503, 7521, 8106, 6023, 4779, 4815, 3708, 3722, 3862, 4948, 6073, 4957, 6071, 3807, 4904, 4963, 4805, 4835, 4771, 4795, 4852, 4964, 7505, 7523, 8108, 3710, 4798, 4813, 3707, 3733, 4839, 4946, 8837, 4958, 4932, 5891, 6111, 4772, 4791, 8215, 4854, 4965, 7507, 7525, 8110, 7025, 3705, 4801, 3782, 3918, 4959, 4933, 4806, 4826, 8229, 6109, 5755, 7509, 7527, 3706, 3735, 3777, 3973, 4960, 3914, 3816, 4827, 7675, 4973, 4796, 4938, 5965, 7513, 7529, 8114, 3704, 3847, 3788, 3965, 3972, 3928, 4975, 7679, 7451, 6517, 4907, 7511, 7531, 8116, 5985, 3856, 3939, 8881, 4914, 3823, 4865, 6105, 5877, 4794, 5415, 4967, 7533, 8118, 3771, 3726, 3786, 3962, 3941, 4810, 7677, 4776, 4785, 6921, 7087, 7681, 7535, 3882, 3725, 4139, 3946, 6919, 4793, 4934, 5523, 7537, 4803, 6017, 4152, 4873, 4848, 4784, 6917, 3849, 4153, 4187, 4908, 6113, 3850, 4797, 4968, 8279, 3902, 9347, 7093, 4247, 4783, 7251, 3971, 4310, 4790, 3886, 4246, 4786, 5401, 4789, 4787, 7950, 4781, 5663, 4080, 6791, 4792, 4397, 9007, 5351, 3846, 4472, 5403, 4444, 8659, 4442, 4910, 5405, 8271, 3885, 4483, 4450, 5883, 4134, 4585, 5951, 6885, 4046, 5875, 5941, 5453, 4148, 4602, 5071, 4610, 4538, 4972, 4680, 4583, 4185, 4033, 5757, 6711, 4601, 5383, 4094, 4711, 4609, 4048, 5229, 4683, 5355, 4710, 6515, 4238, 7135, 4095, 4245, 7237, 7249, 5433, 5447, 6025, 6959, 4180, 7952, 4309, 5411, 6973, 7097, 7924, 8593, 8813, 5361, 4261, 5413, 6967, 8925, 5467, 4297, 3697, 5537, 4440, 4448, 5425, 4453, 6983, 4323, 4361, 6935, 6509, 4320, 4536, 8120, 4581, 4590, 5943, 4600, 4336, 8821, 4679, 4034, 6713, 4510, 4709, 4513, 9345, 4531, 6945, 4260, 4411, 4548, 4412, 4508, 4760, 6039, 4577, 4578, 7435, 4607, 4532, 4549, 4639, 4576, 4579, 4661, 4642, 4671, 3672, 4744, 4624, 8613, 4629, 8681, 6991, 4677, 7964, 7119, 3675)) AND (t_d.attribute_id IN ('202')) AND (t_d.store_id = IFNULL(t_s.store_id, 0))