SELECT * FROM dsm_apiparams WHERE api = :apiId AND lower(param) = lower(:param)

