SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd5c0ce29309d3f66b3f80c553c2d89077794c807c7e54dd2c46ec9971cf5f7' 
  AND token = 'xqcw0FNcOcPtyVYzNNv5any/EXGgJLNgqJ+OOgNi+x8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}