SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '321a6c32bf799f7b8bf0d7839fcd178c5a627f878bddd3189323097cbebad4fd' 
  AND token = 'C/qqxUseTX58vMW49mlx24DznmLJVHXOEa2V14FxaL0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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