$request = "SELECT UF_DATE FROM trade_history ORDER BY ID DESC LIMIT 1";
$element = $mysqli->query($request);
SELECT
`trade_history`.`uf_date`
FROM
`information_schema`.`tables` AS `informationSchemaTable`
JOIN `dbname`.`trade_history` ON (`informationSchemaTable`.`auto_increment`-1=`trade_history`.`id`)
WHERE 1
AND `informationSchemaTable`.`table_schema` = 'dbname'
AND `informationSchemaTable`.`table_name` = 'trade_history'