this is the dump and some values:
CREATE TABLE IF NOT EXISTS `products` (
`ID_product` int(1) NOT NULL AUTO_INCREMENT,
`user_id` int(1) NOT NULL,
`data_pub` int(10) NOT NULL,
PRIMARY KEY (`ID_product`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=59 ;
INSERT INTO `products` (`ID_product`, `user_id`, `data_pub`) VALUES
(1, 1, 1034145512),
(2, 1, 1047023998),
(3, 1, 1048863029),
(4, 1, 1082878114),
(5, 1, 1057765362),
(6, 1, 1069845339),
(7, 1, 1072974569),
(8, 1, 1073734879),
(9, 1, 1078061830),
(10, 1, 1081612558),
(11, 1, 1088926719),
(12, 1, 1097613613),
(13, 1, 1294484457),
(14, 1, 1108819740),
(15, 1, 1110113708),
(16, 1, 1113055990),
(17, 1, 1116447075),
(18, 1, 1121891159),
(19, 1, 1125754462),
(21, 1, 1129987058),
(22, 1, 1137935681),
(23, 1, 1147014380),
(24, 1, 1152644776),
(25, 1, 1153058150),
(26, 1, 1166644581),
(27, 1, 1171662130),
(28, 1, 1174755781),
(29, 1, 1190465853),
(30, 1, 1198401192),
(31, 1, 1212938489),
(32, 1, 1233401000),
(33, 1, 1241865261),
(34, 1, 1271504408),
(35, 1, 1296487128),
(36, 1, 1296570001),
(37, 1, 1296573545),
(38, 1, 1296579164),
(39, 1, 1296585392),
(40, 1, 1296585421),
(41, 1, 1296585455),
(42, 1, 1296585648),
(43, 1, 1296815811),
(44, 1, 1297454728),
(45, 1, 1297454975),
(46, 1, 1298120648),
(47, 1, 1298807272),
(48, 1, 1299010216),
(49, 1, 1299092477),
(50, 1, 1299180670),
(51, 1, 1299404673),
(52, 2, 1301249170),
(53, 2, 1301252055),
(54, 2, 1301913083),
(55, 2, 1302523995),
(56, 2, 1302526008),
(57, 2, 1302695466),
(58, 2, 1302766366);
also the your second query returns unexpected results