SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af2694209a6631fcae58652f706c072330e42e7cad594bcf55c303f557dd7bf0' 
  AND token = 'P6L1+/15/Oy2G8OLhEWRhqIe0KTlbrbauoRmQRbFkpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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