LuaSQL is a simple interface from Lua to a RDBMS , Here is the Github page for Firebird driver