SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9fe938bef5cb2f63e82aaed209d59012f5a0e9ce8352f611ae09c2965e868fd9' 
  AND token = 'wqqHedqOtSgMEZcNcLIDBAsAC7b1vpWeiEwlu65Jncc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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