SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a0978f3121c55bcceb92a42aa872381cd73e9e7ea650d61adfb706b742322f1' 
  AND token = 'fBZzw8VC/4TB1BQ20acY8AgpI16/OhGCB2Pvi+cAFBo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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