SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7efc7edba6c379f2b403a3b53eb31c2cb20b405f58e786dfb0c2c0a3695ed5a' 
  AND token = 'nRDEnTqqCqQ5y30c2pFMggOH05/anlFM5cyniSZix1w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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