SET PDO::ATTR_EMULATE_PREPARES to false

because PDO handles the parameters for LIMIT-clauses as string and mysql
throws an error