$params = [
'category' => '1',
'step' => 12,
];
$result = $this->db->row('SELECT * FROM catalog WHERE category = :category ORDER BY id DESC LIMIT :step', $params);
LIMIT '12'
$this->db->setAttribute( PDO::ATTR_EMULATE_PREPARES, false );