SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd594974ea165a6f90d0ab62c50f205ee996c7db38bb5be00e9cc4de456b217b5' 
  AND token = '04LdhZUh7k4LjCROg/dP5uDaTpEYPwjBbc7U/5FTtN8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}